From d6750c7d9188822bf50e652f054cfe7ea87d773f Mon Sep 17 00:00:00 2001 From: cnr Date: Fri, 20 May 2016 03:23:27 -0500 Subject: [PATCH] Disable /unlockCosmetics on production servers --- .../mineplex/core/gadget/commands/UnlockCosmeticsCommand.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Plugins/Mineplex.Core/src/mineplex/core/gadget/commands/UnlockCosmeticsCommand.java b/Plugins/Mineplex.Core/src/mineplex/core/gadget/commands/UnlockCosmeticsCommand.java index 9a84ffc50..3497b04d9 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/gadget/commands/UnlockCosmeticsCommand.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/gadget/commands/UnlockCosmeticsCommand.java @@ -28,6 +28,7 @@ public class UnlockCosmeticsCommand extends CommandBase if(!testServer) { UtilPlayer.message(caller, F.elem("This command can only be used on test servers!")); + return; } // Adds all cosmetic types