Fix:Prevent horse spawner crash (#433)
This commit is contained in:
1 parent
206c6800f2
commit
ac03b88a90
1 file changed
+1
-1
@@ -479,7 +479,7 @@ void EntityHorse::createInventory()
|
||||
|
||||
void EntityHorse::updateEquipment()
|
||||
{
|
||||
if (!level->isClientSide)
|
||||
if (level && !level->isClientSide)
|
||||
{
|
||||
setSaddled(inventory->getItem(INV_SLOT_SADDLE) != NULL);
|
||||
if (canWearArmor())
|
||||
|
||||
Reference in new issue
Block a user