Patched exploit found in commands

This will fix the issue with world edit history erasing, please push and compile ASAP as Mark would like this patched :)
This commit is contained in:
Ryan 2013-05-26 14:18:16 +02:00
parent 7f9661ec11
commit d8ae364300

View file

@ -497,6 +497,13 @@ public class TFM_PlayerListener implements Listener
}
}
else if (Pattern.compile("^/save-").matcher(command).find())
{
if (!TFM_SuperadminList.isUserSuperadmin(p))
{
block_command = true;
}
}
else if (Pattern.compile("^/clearhistory").matcher(command).find())
{
if (!TFM_SuperadminList.isUserSuperadmin(p))
{