mirror of
https://github.com/neoStudiosLCE/neoLegacy.git
synced 2026-06-12 04:02:53 +00:00
Fix armor stands crashing the game
This commit is contained in:
parent
7443383791
commit
98ccca3eb0
Binary file not shown.
|
Before Width: | Height: | Size: 809 B After Width: | Height: | Size: 1.5 KiB |
|
|
@ -170,7 +170,7 @@ const wchar_t *Textures::preLoaded[TN_COUNT] =
|
|||
L"item/trapped",
|
||||
L"item/trapped_double",
|
||||
|
||||
L"mob/armorstand/wood",
|
||||
L"item/armor_stand",
|
||||
|
||||
|
||||
//L"item/christmas",
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
class ArmorStandItem : public Item
|
||||
{
|
||||
public:
|
||||
ArmorStandItem(int id) : Item(id) {}
|
||||
ArmorStandItem(int id) : Item(id) { maxStackSize = 16; }
|
||||
virtual ~ArmorStandItem() {}
|
||||
|
||||
virtual bool useOn(shared_ptr<ItemInstance> itemInstance, shared_ptr<Player> player,
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ void EntityIO::staticCtor()
|
|||
eMinecraftColour_Mob_Rabbit_Colour1,
|
||||
eMinecraftColour_Mob_Rabbit_Colour2, IDS_RABBIT);//change IDS_RABBIT later
|
||||
|
||||
setId(ArmorStand::create, eTYPE_ARMORSTAND, L"ArmorStand", 102),
|
||||
setId(ArmorStand::create, eTYPE_ARMORSTAND, L"ArmorStand", 102);
|
||||
|
||||
|
||||
setId(Villager::create, eTYPE_VILLAGER, L"Villager", 120, eMinecraftColour_Mob_Villager_Colour1, eMinecraftColour_Mob_Villager_Colour2, IDS_VILLAGER);
|
||||
|
|
|
|||
Loading…
Reference in a new issue