From 47dec49381785c4b1c431624b049b532ad6381d7 Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 15 May 2013 21:13:36 +0200 Subject: [PATCH] added /rl as a blocked command Just because it buggs me ALOT! --- .../TotalFreedomMod/Listener/TFM_PlayerListener.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/me/StevenLawson/TotalFreedomMod/Listener/TFM_PlayerListener.java b/src/me/StevenLawson/TotalFreedomMod/Listener/TFM_PlayerListener.java index f4b24e3..b43bbfc 100644 --- a/src/me/StevenLawson/TotalFreedomMod/Listener/TFM_PlayerListener.java +++ b/src/me/StevenLawson/TotalFreedomMod/Listener/TFM_PlayerListener.java @@ -491,6 +491,13 @@ public class TFM_PlayerListener implements Listener block_command = true; } } + else if (Pattern.compile("^/rl").matcher(command).find()) + { + if (!TFM_SuperadminList.isUserSuperadmin(p)) + { + block_command = true; + } + } else if (Pattern.compile("^/save-").matcher(command).find()) { if (!TFM_SuperadminList.isUserSuperadmin(p))