Code

check if item is LPEItem before casting!!! fixes bug 236788