Displays the name of a region blocking a faction claim

This commit is contained in:
Kristian Knarvik 2023-07-02 18:04:19 +02:00
parent 0a6c5d0e05
commit 461528d5af

View File

@ -99,7 +99,8 @@ public class EngineWorldGuard extends Engine {
} }
// No permission, notify player and stop claiming // No permission, notify player and stop claiming
mplayer.msg("<b>You cannot claim the chunk at %s, %s as there is a region in the way.", chunk.getChunkX(), chunk.getChunkZ()); mplayer.msg("<b>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); event.setCancelled(true);
return; return;