1
0

Possible entity ID fix?

This commit is contained in:
Tiger Wang 2013-08-16 13:12:44 +01:00
parent e64c40115e
commit 6981e55b6c

View File

@ -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");