Fix crash when plugins attempt to load world through getWorld.