diff options
Diffstat (limited to 'src/main/java/de')
-rw-r--r-- | src/main/java/de/torui/coflsky/handlers/EventRegistry.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/de/torui/coflsky/handlers/EventRegistry.java b/src/main/java/de/torui/coflsky/handlers/EventRegistry.java index bd5cd25..354dfb9 100644 --- a/src/main/java/de/torui/coflsky/handlers/EventRegistry.java +++ b/src/main/java/de/torui/coflsky/handlers/EventRegistry.java @@ -236,6 +236,7 @@ public class EventRegistry { @SubscribeEvent(priority = EventPriority.HIGHEST) public void onItemTooltipEvent(ItemTooltipEvent event) { if (!config.extendedtooltips) return; + if(descriptionHandler == null) return; descriptionHandler.setTooltips(event); } } |