From c3952e9bd727830c6f8ca6862ec91e336d0e701d Mon Sep 17 00:00:00 2001 From: ceze88 Date: Thu, 10 Aug 2023 11:46:16 +0200 Subject: [PATCH] Fix hopper id's --- .../main/java/com/craftaro/epichoppers/hopper/HopperImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/EpicHoppers-Plugin/src/main/java/com/craftaro/epichoppers/hopper/HopperImpl.java b/EpicHoppers-Plugin/src/main/java/com/craftaro/epichoppers/hopper/HopperImpl.java index ee3e526..035042d 100644 --- a/EpicHoppers-Plugin/src/main/java/com/craftaro/epichoppers/hopper/HopperImpl.java +++ b/EpicHoppers-Plugin/src/main/java/com/craftaro/epichoppers/hopper/HopperImpl.java @@ -70,6 +70,7 @@ public class HopperImpl implements Hopper { public HopperImpl(Location location) { this.location = location; + this.id = EpicHoppers.getPlugin(EpicHoppers.class).getDataManager().getNextId("hoppers"); } /**