From 8602850245494e16a99021ac233b26bc7ecc2273 Mon Sep 17 00:00:00 2001 From: ZeroEpoch1969 <13510767+ZeroEpoch1969@users.noreply.github.com> Date: Wed, 11 Jul 2018 16:17:00 -0700 Subject: [PATCH] fix spawnmob command --- .../totalfreedom/totalfreedommod/command/Command_spawnmob.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_spawnmob.java b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_spawnmob.java index 87e94f0f..9f399e9a 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_spawnmob.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_spawnmob.java @@ -68,7 +68,7 @@ public class Command_spawnmob extends FreedomCommand World w = playerSender.getWorld(); msg("Spawning " + amount + " of " + type.getName()); - for (int i = 0; i < amount; amount++) + for (int i = 0; i < amount; i++) { w.spawnEntity(l, type); }