Add the switch cases for MINECART_COMMAND

This commit is contained in:
libraryaddict 2014-06-19 09:26:54 +12:00
parent e40cd3d60e
commit 2c905e38b2
3 changed files with 5 additions and 0 deletions

View File

@ -144,6 +144,7 @@ public abstract class Disguise {
case ITEM_FRAME:
case MINECART:
case MINECART_CHEST:
case MINECART_COMMAND:
case MINECART_FURNACE:
case MINECART_HOPPER:
case MINECART_MOB_SPAWNER:

View File

@ -17,6 +17,7 @@ public class DisguiseValues {
type = DisguiseType.HORSE;
break;
case MINECART_CHEST:
case MINECART_COMMAND:
case MINECART_FURNACE:
case MINECART_HOPPER:
case MINECART_TNT:

View File

@ -359,6 +359,7 @@ public class PacketsManager {
switch (disguiseType) {
case MINECART:
case MINECART_CHEST:
case MINECART_COMMAND:
case MINECART_FURNACE:
case MINECART_HOPPER:
case MINECART_MOB_SPAWNER:
@ -390,6 +391,7 @@ public class PacketsManager {
switch (disguiseType) {
case MINECART:
case MINECART_CHEST:
case MINECART_COMMAND:
case MINECART_FURNACE:
case MINECART_HOPPER:
case MINECART_MOB_SPAWNER:
@ -455,6 +457,7 @@ public class PacketsManager {
if (entity instanceof LivingEntity)
return yMod + ((LivingEntity) entity).getEyeHeight();
case MINECART:
case MINECART_COMMAND:
case MINECART_CHEST:
case MINECART_FURNACE:
case MINECART_HOPPER: