mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
fix spawnmob command
This commit is contained in:
parent
114567f94c
commit
8602850245
@ -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…
Reference in New Issue
Block a user