From 885ae3f63b2a08e5af22de7d312dcf2950ba0a6c Mon Sep 17 00:00:00 2001 From: KennyTV <28825609+KennyTV@users.noreply.github.com> Date: Wed, 22 May 2019 16:23:56 +0200 Subject: [PATCH] Add trident to EntityType1_13 --- .../viabackwards/api/entities/types/EntityType1_13.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/nl/matsv/viabackwards/api/entities/types/EntityType1_13.java b/core/src/main/java/nl/matsv/viabackwards/api/entities/types/EntityType1_13.java index d5a1c93e..3424363a 100644 --- a/core/src/main/java/nl/matsv/viabackwards/api/entities/types/EntityType1_13.java +++ b/core/src/main/java/nl/matsv/viabackwards/api/entities/types/EntityType1_13.java @@ -286,7 +286,8 @@ public class EntityType1_13 { 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; @@ -308,7 +309,7 @@ public class EntityType1_13 { return output.map(ObjectType::getType); } - public static Optional fromEntityType(EntityType type){ + public static Optional fromEntityType(EntityType type) { for (ObjectType ent : ObjectType.values()) if (ent.getType() == type) return Optional.of(ent);