mung3r/ecoCreature — Issue #40: Check for cancelled events!
Author: sorklin
Created: 2012-01-29 17:38:04+00:00
State: open

Before rewarding for destroying a spawner, it would be nice if you checked for cancelled events. We have spawners that are WorldGuarded (not by design, but circumstance). When someone destroys the block, they are given the reward, but the block is not destroyed (since WG cancels it). If your priority is monitor (which it should be since you don't cancel events), you'll always know if a plugin has cancelled it (for example, modifyworld, residence, or worldguard).

As it stands, a player can destroy a protected spawner over and over again and completely destroy the economy.