forked from SteamWar/SteamWar
Fix many things
This commit is contained in:
@@ -64,7 +64,7 @@ public class XrayCommand extends SWCommand implements Listener, ScoreboardElemen
|
||||
@Register(description = "XRAY_HELP")
|
||||
public void toggleHider(@Validator Player player) {
|
||||
Region region = Region.getRegion(player.getLocation());
|
||||
if (region.isGlobal()) {
|
||||
if (region.getType().isGlobal()) {
|
||||
BauSystem.MESSAGE.send("XRAY_GLOBAL", player);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user