Displays the name of a region blocking a faction claim
This commit is contained in:
parent
0a6c5d0e05
commit
461528d5af
@ -99,7 +99,8 @@ public class EngineWorldGuard extends Engine {
|
||||
}
|
||||
|
||||
// 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);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user