From 914ef8e8d0650e04ae3955a054ee226db2e96358 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Tue, 7 Dec 2010 20:16:13 -0800 Subject: [PATCH] Fixed /modify command exploit again, still doesn't have a toggle though. --- vMinecraftCommands.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vMinecraftCommands.java b/vMinecraftCommands.java index b218cca64..83e80f516 100644 --- a/vMinecraftCommands.java +++ b/vMinecraftCommands.java @@ -585,8 +585,9 @@ public class vMinecraftCommands{ public static int modifySplit(Player player, String[] args) { //Exploit fix for people giving themselves commands - if(args[1].equals("commands")) - return EXIT_SUCCESS; + if(args[2].equals("commands")){ + return EXIT_FAIL; + } return EXIT_CONTINUE; }