Add null check when initializing entity activation state. #1302

If World is constructed using the vanilla signature, then the
CraftWorld from getWorld() and .world will be null. Fixes NPE
initializing entity activation state, which requires a CraftWorld.