taoneill / war

War - Minecraft TDM & CTF for Bukkit
war.tommytony.com
MIT License
68 stars 152 forks source link

Zone reset mayhem - Spawn get warped around, parts of map offset #523

Open taoneill opened 12 years ago

taoneill commented 12 years ago

See

http://forums.bukkit.org/threads/mech-fun-war-v1-7-2-minecraft-pvp-arenas-tdm-ctf-more-1-2-5-r4.250/page-89#post-1183549

and for SSs and the files

http://forums.bukkit.org/threads/mech-fun-war-v1-7-2-minecraft-pvp-arenas-tdm-ctf-more-1-2-5-r4.250/page-89#post-1184578

grinning commented 12 years ago

This is a weird bug because the code in the two files to reset the zones is identical!

Warzone.java under handleDeath()

976 playerWarzone.getVolume().resetBlocksAsJob(); 977 playerWarzone.initializeZoneAsJob(player);

ResetZoneCommand.java under handle()

57 zone.getVolume().resetBlocksAsJob(); 58 if (zone.getLobby() != null) { 59 zone.getLobby().getVolume().resetBlocksAsJob(); 60 } 61 zone.initializeZoneAsJob();