From 8cc5949050acb54a366fb373809dee2ca4cc4996 Mon Sep 17 00:00:00 2001 From: boy0001 Date: Tue, 7 Apr 2015 23:28:41 +1000 Subject: [PATCH] Fixed cluster typo --- .../java/com/intellectualcrafters/plot/commands/Cluster.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/Cluster.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/Cluster.java index da65e9fbc..5aad2d0d9 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/Cluster.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/Cluster.java @@ -299,7 +299,7 @@ public class Cluster extends SubCommand { // check uuid final UUID uuid = UUIDHandler.getUUID(args[1]); if (uuid == null) { - MainUtil.sendMessage(plr, C.INVALID_PLAYER, args[1]); + MainUtil.sendMessage(plr, C.INVALID_PLAYER, args[2]); return false; } if (!cluster.isAdded(uuid)) { @@ -435,7 +435,7 @@ public class Cluster extends SubCommand { } final UUID uuid = UUIDHandler.getUUID(args[2]); if (uuid == null) { - MainUtil.sendMessage(plr, C.INVALID_PLAYER, args[1]); + MainUtil.sendMessage(plr, C.INVALID_PLAYER, args[2]); return false; } if (args[1].toLowerCase().equals("add")) {