From 461528d5af7b107bbdedc8e8a29344314ec5304a Mon Sep 17 00:00:00 2001 From: EpicKnarvik97 Date: Sun, 2 Jul 2023 18:04:19 +0200 Subject: [PATCH] Displays the name of a region blocking a faction claim --- .../factions/integration/worldguard/EngineWorldGuard.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/massivecraft/factions/integration/worldguard/EngineWorldGuard.java b/src/main/java/com/massivecraft/factions/integration/worldguard/EngineWorldGuard.java index 55d8bbdc..2af02262 100644 --- a/src/main/java/com/massivecraft/factions/integration/worldguard/EngineWorldGuard.java +++ b/src/main/java/com/massivecraft/factions/integration/worldguard/EngineWorldGuard.java @@ -99,7 +99,8 @@ public class EngineWorldGuard extends Engine { } // No permission, notify player and stop claiming - mplayer.msg("You cannot claim the chunk at %s, %s as there is a region in the way.", chunk.getChunkX(), chunk.getChunkZ()); + mplayer.msg("You cannot claim the chunk at %s, %s as there is a region in the way: %s", + chunk.getChunkX(), chunk.getChunkZ(), region.getId()); event.setCancelled(true); return;