From 8fc0673bb2fa6105fd79ee7934c07c90187edb16 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 30 Jun 2014 17:30:16 +0200 Subject: [PATCH] /tfm: Return true when the player doesn't have permission. Fixes #227 --- buildnumber.properties | 4 ++-- src/me/StevenLawson/TotalFreedomMod/Commands/Command_tfm.java | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/buildnumber.properties b/buildnumber.properties index 30750e56..9fc06c14 100644 --- a/buildnumber.properties +++ b/buildnumber.properties @@ -1,3 +1,3 @@ #Build Number for ANT. Do not edit! -#Sun Jun 29 16:33:24 CEST 2014 -build.number=909 +#Mon Jun 30 17:29:02 CEST 2014 +build.number=910 diff --git a/src/me/StevenLawson/TotalFreedomMod/Commands/Command_tfm.java b/src/me/StevenLawson/TotalFreedomMod/Commands/Command_tfm.java index 2d4903f4..7867d3ca 100644 --- a/src/me/StevenLawson/TotalFreedomMod/Commands/Command_tfm.java +++ b/src/me/StevenLawson/TotalFreedomMod/Commands/Command_tfm.java @@ -30,6 +30,7 @@ public class Command_tfm extends TFM_Command if (!TFM_AdminList.isSuperAdmin(sender)) { playerMsg(TotalFreedomMod.MSG_NO_PERMS); + return true; } TFM_AdminList.load();