Add the switch cases for MINECART_COMMAND
This commit is contained in:
@@ -144,6 +144,7 @@ public abstract class Disguise {
|
|||||||
case ITEM_FRAME:
|
case ITEM_FRAME:
|
||||||
case MINECART:
|
case MINECART:
|
||||||
case MINECART_CHEST:
|
case MINECART_CHEST:
|
||||||
|
case MINECART_COMMAND:
|
||||||
case MINECART_FURNACE:
|
case MINECART_FURNACE:
|
||||||
case MINECART_HOPPER:
|
case MINECART_HOPPER:
|
||||||
case MINECART_MOB_SPAWNER:
|
case MINECART_MOB_SPAWNER:
|
||||||
|
@@ -17,6 +17,7 @@ public class DisguiseValues {
|
|||||||
type = DisguiseType.HORSE;
|
type = DisguiseType.HORSE;
|
||||||
break;
|
break;
|
||||||
case MINECART_CHEST:
|
case MINECART_CHEST:
|
||||||
|
case MINECART_COMMAND:
|
||||||
case MINECART_FURNACE:
|
case MINECART_FURNACE:
|
||||||
case MINECART_HOPPER:
|
case MINECART_HOPPER:
|
||||||
case MINECART_TNT:
|
case MINECART_TNT:
|
||||||
|
@@ -359,6 +359,7 @@ public class PacketsManager {
|
|||||||
switch (disguiseType) {
|
switch (disguiseType) {
|
||||||
case MINECART:
|
case MINECART:
|
||||||
case MINECART_CHEST:
|
case MINECART_CHEST:
|
||||||
|
case MINECART_COMMAND:
|
||||||
case MINECART_FURNACE:
|
case MINECART_FURNACE:
|
||||||
case MINECART_HOPPER:
|
case MINECART_HOPPER:
|
||||||
case MINECART_MOB_SPAWNER:
|
case MINECART_MOB_SPAWNER:
|
||||||
@@ -390,6 +391,7 @@ public class PacketsManager {
|
|||||||
switch (disguiseType) {
|
switch (disguiseType) {
|
||||||
case MINECART:
|
case MINECART:
|
||||||
case MINECART_CHEST:
|
case MINECART_CHEST:
|
||||||
|
case MINECART_COMMAND:
|
||||||
case MINECART_FURNACE:
|
case MINECART_FURNACE:
|
||||||
case MINECART_HOPPER:
|
case MINECART_HOPPER:
|
||||||
case MINECART_MOB_SPAWNER:
|
case MINECART_MOB_SPAWNER:
|
||||||
@@ -455,6 +457,7 @@ public class PacketsManager {
|
|||||||
if (entity instanceof LivingEntity)
|
if (entity instanceof LivingEntity)
|
||||||
return yMod + ((LivingEntity) entity).getEyeHeight();
|
return yMod + ((LivingEntity) entity).getEyeHeight();
|
||||||
case MINECART:
|
case MINECART:
|
||||||
|
case MINECART_COMMAND:
|
||||||
case MINECART_CHEST:
|
case MINECART_CHEST:
|
||||||
case MINECART_FURNACE:
|
case MINECART_FURNACE:
|
||||||
case MINECART_HOPPER:
|
case MINECART_HOPPER:
|
||||||
|
Reference in New Issue
Block a user