mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
/tfm: Return true when the player doesn't have permission. Fixes #227
This commit is contained in:
parent
aa062a9d11
commit
8fc0673bb2
@ -1,3 +1,3 @@
|
|||||||
#Build Number for ANT. Do not edit!
|
#Build Number for ANT. Do not edit!
|
||||||
#Sun Jun 29 16:33:24 CEST 2014
|
#Mon Jun 30 17:29:02 CEST 2014
|
||||||
build.number=909
|
build.number=910
|
||||||
|
@ -30,6 +30,7 @@ public class Command_tfm extends TFM_Command
|
|||||||
if (!TFM_AdminList.isSuperAdmin(sender))
|
if (!TFM_AdminList.isSuperAdmin(sender))
|
||||||
{
|
{
|
||||||
playerMsg(TotalFreedomMod.MSG_NO_PERMS);
|
playerMsg(TotalFreedomMod.MSG_NO_PERMS);
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
TFM_AdminList.load();
|
TFM_AdminList.load();
|
||||||
|
Loading…
Reference in New Issue
Block a user