diff --git a/main/src/main/java/net/citizensnpcs/commands/NPCCommands.java b/main/src/main/java/net/citizensnpcs/commands/NPCCommands.java index f7ed20334..5c454e653 100644 --- a/main/src/main/java/net/citizensnpcs/commands/NPCCommands.java +++ b/main/src/main/java/net/citizensnpcs/commands/NPCCommands.java @@ -1997,9 +1997,9 @@ public class NPCCommands { NPC fromNPC = CitizensAPI.getNPCRegistry().getById(id); if (fromNPC != null) { if (args.argsLength() == 2) { - from = fromNPC.getEntity(); - } else { to = fromNPC.getEntity(); + } else { + from = fromNPC.getEntity(); } } } catch (NumberFormatException e) {