diff --git a/pom.xml b/pom.xml index 3d0fae9..881d55e 100644 --- a/pom.xml +++ b/pom.xml @@ -63,7 +63,7 @@ 1.12.0 - 1.4.0 + 1.6.0 1.1.0 diff --git a/src/main/java/world/bentobox/level/panels/TopLevelPanel.java b/src/main/java/world/bentobox/level/panels/TopLevelPanel.java index 0254204..81910b8 100644 --- a/src/main/java/world/bentobox/level/panels/TopLevelPanel.java +++ b/src/main/java/world/bentobox/level/panels/TopLevelPanel.java @@ -177,7 +177,7 @@ private PanelItem createIslandIcon(ItemTemplateRecord template, IslandTopRecord } case "VISIT" -> { return island.getOwner() == null || this.addon.getVisitHook() == null - || !this.addon.getVisitHook().getAddonManager().preprocessTeleportation(this.user, island); + || !this.addon.getVisitHook().getAddonManager().preprocessTeleportation(this.user, island, true); } case "VIEW" -> { return island.getOwner() == null