mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-04-23 07:27:20 +00:00
Fix:Prevent horse spawner crash (#433)
This commit is contained in:
parent
206c6800f2
commit
ac03b88a90
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Reference in a new issue