Add "Quake.Player" permission check to sign join
This commit is contained in:
parent
c81aa6417b
commit
f0bb13838a
@ -165,6 +165,10 @@ public class SArena extends Arena {
|
||||
player.sendMessage(_plugin._trad.get("Game.Arena.error.inGame"));
|
||||
return;
|
||||
}
|
||||
if (!Quake.hasPermission(player, "Quake.player")) {
|
||||
player.sendMessage(_plugin._trad.get("NoPermission"));
|
||||
return;
|
||||
}
|
||||
if (_VIP && !Quake.hasPermission(player, "Quake.VIP")) {
|
||||
player.sendMessage(_plugin._trad.get("Game.Arena.error.VIP"));
|
||||
return;
|
||||
|
@ -178,6 +178,10 @@ public class TArena extends Arena {
|
||||
player.sendMessage(_plugin._trad.get("Game.Arena.error.inGame"));
|
||||
return;
|
||||
}
|
||||
if (!Quake.hasPermission(player, "Quake.player")) {
|
||||
player.sendMessage(_plugin._trad.get("NoPermission"));
|
||||
return;
|
||||
}
|
||||
if (_VIP && !Quake.hasPermission(player, "Quake.VIP")) {
|
||||
player.sendMessage(_plugin._trad.get("Game.Arena.error.VIP"));
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user