mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
Fix:Prevent horse spawner crash (#433)
This commit is contained in:
parent
4f996519cf
commit
8bccd2035a
|
|
@ -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