From 82a176a8a20cf4deb368c2f163ff7583fb02940e Mon Sep 17 00:00:00 2001 From: d0by Date: Fri, 17 Dec 2021 18:48:42 +0100 Subject: [PATCH] ender dragon --- .../eu/decentsoftware/holograms/api/DecentHologramsAPI.java | 2 +- src/main/java/eu/decentsoftware/holograms/api/nms/NMS.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/eu/decentsoftware/holograms/api/DecentHologramsAPI.java b/src/main/java/eu/decentsoftware/holograms/api/DecentHologramsAPI.java index 6a811fdd..2e829083 100644 --- a/src/main/java/eu/decentsoftware/holograms/api/DecentHologramsAPI.java +++ b/src/main/java/eu/decentsoftware/holograms/api/DecentHologramsAPI.java @@ -46,7 +46,7 @@ public static boolean isRunning() { */ public static DecentHolograms get() { if (implementation == null) { - throw new IllegalStateException("There is no running instance of DecentHologramsAPI, enabled it first."); + throw new IllegalStateException("There is no running instance of DecentHologramsAPI, enable it first."); } return implementation; } diff --git a/src/main/java/eu/decentsoftware/holograms/api/nms/NMS.java b/src/main/java/eu/decentsoftware/holograms/api/nms/NMS.java index 182708ef..b2ea1365 100644 --- a/src/main/java/eu/decentsoftware/holograms/api/nms/NMS.java +++ b/src/main/java/eu/decentsoftware/holograms/api/nms/NMS.java @@ -94,6 +94,7 @@ public abstract class NMS { mapEntityTypes.put("DOLPHIN", new Pair<>(12, 0.6f)); mapEntityTypes.put("DROWNED", new Pair<>(14, 1.95f)); mapEntityTypes.put("ELDER_GUARDIAN", new Pair<>(15, 2.9f)); + mapEntityTypes.put("ENDER_DRAGON", new Pair<>(17, 8.0f)); mapEntityTypes.put("ENDERMAN", new Pair<>(18, 2.9f)); mapEntityTypes.put("ENDERMITE", new Pair<>(19, 0.3f)); mapEntityTypes.put("EVOKER", new Pair<>(21, 1.95f));