mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +01:00
Fixed /modify <name> command exploit again, still doesn't have a toggle though.
This commit is contained in:
parent
bfdbe3f6f9
commit
914ef8e8d0
@ -585,8 +585,9 @@ public class vMinecraftCommands{
|
|||||||
public static int modifySplit(Player player, String[] args)
|
public static int modifySplit(Player player, String[] args)
|
||||||
{
|
{
|
||||||
//Exploit fix for people giving themselves commands
|
//Exploit fix for people giving themselves commands
|
||||||
if(args[1].equals("commands"))
|
if(args[2].equals("commands")){
|
||||||
return EXIT_SUCCESS;
|
return EXIT_FAIL;
|
||||||
|
}
|
||||||
return EXIT_CONTINUE;
|
return EXIT_CONTINUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user