mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-26 20:16:02 +01:00
commit
49e85e2b8a
@ -270,7 +270,8 @@ public class Entity1_13Types {
|
||||
EVOCATION_FANGS(79, EntityType.EVOCATION_FANGS),
|
||||
FISHIHNG_HOOK(90, EntityType.FISHING_BOBBER),
|
||||
SPECTRAL_ARROW(91, EntityType.SPECTRAL_ARROW),
|
||||
DRAGON_FIREBALL(93, EntityType.DRAGON_FIREBALL);
|
||||
DRAGON_FIREBALL(93, EntityType.DRAGON_FIREBALL),
|
||||
TRIDENT(94, EntityType.TRIDENT);
|
||||
|
||||
private final int id;
|
||||
private final EntityType type;
|
||||
|
@ -83,12 +83,8 @@ public class EntityPackets {
|
||||
break;
|
||||
}
|
||||
} else if ((type1_14.is(Entity1_14Types.EntityType.ITEM) && data > 0)
|
||||
|| type1_14.is(Entity1_14Types.EntityType.ARROW)
|
||||
|| type1_14.is(Entity1_14Types.EntityType.SPECTRAL_ARROW)
|
||||
|| type1_14.is(Entity1_14Types.EntityType.TRIDENT)) {
|
||||
if (type1_14.is(Entity1_14Types.EntityType.ARROW)
|
||||
|| type1_14.is(Entity1_14Types.EntityType.SPECTRAL_ARROW)
|
||||
|| type1_14.is(Entity1_14Types.EntityType.TRIDENT))) { // todo check if trident needs it
|
||||
|| type1_14.isOrHasParent(Entity1_14Types.EntityType.ABSTRACT_ARROW)) {
|
||||
if (type1_14.isOrHasParent(Entity1_14Types.EntityType.ABSTRACT_ARROW)) {
|
||||
wrapper.set(Type.INT, 0, data - 1);
|
||||
}
|
||||
// send velocity in separate packet, 1.14 is now ignoring the velocity
|
||||
|
Loading…
Reference in New Issue
Block a user