Missile wars bug
In missile wars, one can lose the game for his team by breaking a block of obsidian in the portal. This could be used by trollers for teamgriefing.
To replicate: (a bit trivial but I'll include it anyways)
- Join a game of missile wars.
- Start breaking a block of obsidian.
- Mine for 4 minutes and 10 seconds.
- Congrats! You've just lost the game of missile wars.
Proposed fix: (pseudocode in [], not an array)
public void onBlockBreak(BlockBreakEvent event) { if [block is obsidian] e.setCancelled(true); }
Edited by Sjoerd