diff options
author | cexikitin <king@hiberniagaming.net> | 2013-01-13 14:58:34 -0500 |
---|---|---|
committer | feildmaster <admin@feildmaster.com> | 2013-01-14 19:24:08 -0600 |
commit | 8bc9e712e12a973da1de2da4e7073c375372bc9b (patch) | |
tree | 09691f1e3d40667a6f1ea97c7f188ba368daf737 /src/test | |
parent | dd7ba4a25834236910e7a17542a8a1116d5c8d0a (diff) | |
download | craftbukkit-8bc9e712e12a973da1de2da4e7073c375372bc9b.tar craftbukkit-8bc9e712e12a973da1de2da4e7073c375372bc9b.tar.gz craftbukkit-8bc9e712e12a973da1de2da4e7073c375372bc9b.tar.lz craftbukkit-8bc9e712e12a973da1de2da4e7073c375372bc9b.tar.xz craftbukkit-8bc9e712e12a973da1de2da4e7073c375372bc9b.zip |
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.
Diffstat (limited to 'src/test')
0 files changed, 0 insertions, 0 deletions