diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/listener/BlockEventListener.java b/Bukkit/src/main/java/com/plotsquared/bukkit/listener/BlockEventListener.java index e8a24c9aa..ffbe892ec 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/listener/BlockEventListener.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/listener/BlockEventListener.java @@ -289,7 +289,8 @@ public class BlockEventListener implements Listener { event.setCancelled(true); pp.sendMessage( TranslatableCaption.of("height.height_limit"), - Template.of("limit", String.valueOf(area.getMaxBuildHeight())) + Template.of("minHeight", String.valueOf(area.getMinBuildHeight())), + Template.of("maxHeight", String.valueOf(area.getMaxBuildHeight())) ); } if (!plot.hasOwner()) { @@ -374,7 +375,8 @@ public class BlockEventListener implements Listener { event.setCancelled(true); plotPlayer.sendMessage( TranslatableCaption.of("height.height_limit"), - Template.of("limit", String.valueOf(area.getMaxBuildHeight())) + Template.of("minHeight", String.valueOf(area.getMinBuildHeight())), + Template.of("maxHeight", String.valueOf(area.getMaxBuildHeight())) ); } if (!plot.hasOwner()) { diff --git a/Core/build.gradle.kts b/Core/build.gradle.kts index e7782cb0a..1756e7d33 100644 --- a/Core/build.gradle.kts +++ b/Core/build.gradle.kts @@ -39,7 +39,7 @@ dependencies { testImplementation("com.sk89q.worldedit:worldedit-core:7.2.2") // Logging - api("org.slf4j:slf4j-api:1.7.30") + api("org.slf4j:slf4j-api:1.7.25") runtimeOnly("org.apache.logging.log4j:log4j-slf4j-impl:2.8.1") { exclude(group = "org.slf4j") } diff --git a/Core/src/main/resources/lang/messages_en.json b/Core/src/main/resources/lang/messages_en.json index 482f8516b..ce591a20a 100644 --- a/Core/src/main/resources/lang/messages_en.json +++ b/Core/src/main/resources/lang/messages_en.json @@ -56,7 +56,7 @@ "worldedit.worldedit_bypass": "To bypass your restrictions use ", "worldedit.worldedit_bypassed": "Currently bypassing WorldEdit restriction.", "gamemode.gamemode_was_bypassed": "You bypassed the gamemode () set for .", - "height.height_limit": "This plot area has a height limit of .", + "height.height_limit": "This plot area has building height limits: Min height: , Max height: ", "notification.notify_enter": " entered your plot ().", "notification.notify_leave": " left your plot ().", "swap.swap_overlap": "The proposed areas are not allowed to overlap.",