From 800032f53054934bd6e34e2f22b1f26f67cb0234 Mon Sep 17 00:00:00 2001 From: Ruakij Date: Mon, 10 May 2021 10:21:06 +0200 Subject: [PATCH] Fixed list not getting written to HashMap --- .../linkedBeaconTeleporter/LinkedBeaconTeleporterManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/eu/ruekov/ruakij/LinkedBeaconTeleporters/linkedBeaconTeleporter/LinkedBeaconTeleporterManager.java b/src/main/java/eu/ruekov/ruakij/LinkedBeaconTeleporters/linkedBeaconTeleporter/LinkedBeaconTeleporterManager.java index 50eaf24..f6d6afc 100644 --- a/src/main/java/eu/ruekov/ruakij/LinkedBeaconTeleporters/linkedBeaconTeleporter/LinkedBeaconTeleporterManager.java +++ b/src/main/java/eu/ruekov/ruakij/LinkedBeaconTeleporters/linkedBeaconTeleporter/LinkedBeaconTeleporterManager.java @@ -82,6 +82,7 @@ public class LinkedBeaconTeleporterManager { if(lbtBlocks == null){ // Create empty if not found lbtBlocks = new ArrayList<>(); + linkedBeaconTeleporterById.put(lbtItem.teleporterId(), lbtBlocks); } // Block from item