SunKillPigZombie
Details
-
FilenameSunKillPigZombie.jar
-
Uploaded by
-
UploadedApr 28, 2012
-
Size6.69 KB
-
Downloads746
-
MD592596577d91753ca83130b2541ae65d3
Supported Bukkit Versions
- CB 1.2.5-R1.0
Changelog
- Fixed issue where this plugin stopped Monster Apocalypse from spawning mobs.
- Fixed performance issue
- Saves dmgPerTick setting
In-depth changes: Instead of looping through all Entities each second looking for PigZombies, I've rewritten this to keep an ArrayList of PigZombies, and loop through the list every second instead. When an Entity spawns I capture it via onCreatureSpawn and if it's a PigZombie I add it the the ArrayList. Also 2.5 seconds after a PlayerJoins I loop through all Entities and add any PigZombies.