Archiviert
13
0

Spawn monsters without prematurely exiting. Fixes BUKKIT-3425

By using return 0, we exit the loop prematurely preventing other
creature types from being spawned if one type is set to 0. By using
continue we move on to the other types and allow them to spawn
properly.
Dieser Commit ist enthalten in:
cexikitin 2013-01-13 14:58:34 -05:00 committet von feildmaster
Ursprung dd7ba4a258
Commit 8bc9e712e1

Datei anzeigen

@ -86,7 +86,7 @@ public final class SpawnerCreature {
}
if (limit == 0) {
return 0;
continue;
}
// CraftBukkit end