From 7caa688aa0d2f36e68cb39fbc1225ead369f98f3 Mon Sep 17 00:00:00 2001 From: BONNe Date: Fri, 28 Jan 2022 12:28:39 +0200 Subject: [PATCH] Fixes incorrect error message path. There were 2 different error message paths to the same text. Reported in Discord. --- .../bentobox/caveblock/listeners/CustomHeightLimitations.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/world/bentobox/caveblock/listeners/CustomHeightLimitations.java b/src/main/java/world/bentobox/caveblock/listeners/CustomHeightLimitations.java index b26e14b..c9d60b3 100644 --- a/src/main/java/world/bentobox/caveblock/listeners/CustomHeightLimitations.java +++ b/src/main/java/world/bentobox/caveblock/listeners/CustomHeightLimitations.java @@ -53,7 +53,7 @@ public class CustomHeightLimitations implements Listener // Prevent to get over world height if (nextY >= this.worldHeight) { - User.getInstance(player).sendMessage("caveblock.cave-limit-reached"); + User.getInstance(player).sendMessage("caveblock.general.errors.cave-limit-reached"); event.setCancelled(true); } }