mirror of
https://github.com/TotalFreedomMC/TotalFreedomMod.git
synced 2025-08-05 20:12:55 +00:00
fix spawnmob command
This commit is contained in:
parent
114567f94c
commit
8602850245
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ public class Command_spawnmob extends FreedomCommand
|
||||||
World w = playerSender.getWorld();
|
World w = playerSender.getWorld();
|
||||||
msg("Spawning " + amount + " of " + type.getName());
|
msg("Spawning " + amount + " of " + type.getName());
|
||||||
|
|
||||||
for (int i = 0; i < amount; amount++)
|
for (int i = 0; i < amount; i++)
|
||||||
{
|
{
|
||||||
w.spawnEntity(l, type);
|
w.spawnEntity(l, type);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue