Prevent minecarts disguised as minecarts from getting a Y height modifier
This commit is contained in:
parent
1fc72e10cc
commit
951d60f0aa
@ -374,7 +374,17 @@ public class PacketsManager {
|
|||||||
case MINECART_HOPPER:
|
case MINECART_HOPPER:
|
||||||
case MINECART_MOB_SPAWNER:
|
case MINECART_MOB_SPAWNER:
|
||||||
case MINECART_TNT:
|
case MINECART_TNT:
|
||||||
return 0.4;
|
switch (entity.getType()) {
|
||||||
|
case MINECART:
|
||||||
|
case MINECART_CHEST:
|
||||||
|
case MINECART_FURNACE:
|
||||||
|
case MINECART_HOPPER:
|
||||||
|
case MINECART_MOB_SPAWNER:
|
||||||
|
case MINECART_TNT:
|
||||||
|
return 0;
|
||||||
|
default:
|
||||||
|
return 0.4;
|
||||||
|
}
|
||||||
case ARROW:
|
case ARROW:
|
||||||
case BOAT:
|
case BOAT:
|
||||||
case EGG:
|
case EGG:
|
||||||
|
Loading…
Reference in New Issue
Block a user