* The HangingBreakEvent.
*/
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
public void onHangingBreak(HangingBreakEvent event)
{
Hanging h = event.getEntity();
WorldConfig world = CreeperConfig.getWorld(h.getWorld());
switch (event.getCause())
{
case EXPLOSION:
ExplodedBlockManager.recordHanging(h);
break;
case PHYSICS:
case OBSTRUCTION:
if (BurntBlockManager.isNextToFire(h.getLocation()) && world.getBool(WCfgVal.FIRE))
BurntBlockManager.recordBurntBlock(new CreeperBurntBlock(new Date(), CreeperHanging.newHanging(h)));
break;
default:
}