Possible entity ID fix?
This commit is contained in:
parent
e64c40115e
commit
6981e55b6c
@ -41,11 +41,11 @@ void cMinecart::SpawnOn(cClientHandle & a_ClientHandle)
|
|||||||
char Type = 0;
|
char Type = 0;
|
||||||
switch (m_Payload) //Wiki.vg is outdated on this!!
|
switch (m_Payload) //Wiki.vg is outdated on this!!
|
||||||
{
|
{
|
||||||
case mpNone: Type = 15; break; //?
|
case mpNone: Type = 9; break; //?
|
||||||
case mpChest: Type = 10; break;
|
case mpChest: Type = 10; break;
|
||||||
case mpFurnace: Type = 11; break; //?
|
case mpFurnace: Type = 11; break; //?
|
||||||
case mpTNT: Type = 12; break; //?
|
case mpTNT: Type = 12; break; //?
|
||||||
case mpHopper: Type = 14; break; //?
|
case mpHopper: Type = 13; break; //?
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
ASSERT(!"Unknown payload, cannot spawn on client");
|
ASSERT(!"Unknown payload, cannot spawn on client");
|
||||||
|
Loading…
Reference in New Issue
Block a user