@EventHandler
	public void onClick(PlayerInteractEvent event)
	{
		if(plugin.getConfig().getBoolean("Chest.RedstoneTrap.Enabled") == true)
		{
		Action action = event.getAction();
		
		if(action == Action.RIGHT_CLICK_BLOCK)
		{
			Block block = event.getClickedBlock();
			Material mat = block.getType();
			
			if(mat == Material.CHEST)
			{
				int power = block.getBlockPower(BlockFace.SELF);
			    if(power > 3)
			    {
				    Location loc = block.getLocation();
				    loc.getWorld().createExplosion(loc, 4F, true);
				    /*Added in the new api. source: http://jd.bukkit.org/dev/apidocs/org/bukkit/World.html#createExplosion(org.bukkit.Location, float, boolean, boolean)
				    * 4F == TNT
				    */
			    }
			}
		}
		
		if(action == Action.LEFT_CLICK_BLOCK)
		{
			Block block = event.getClickedBlock();
			Material mat = block.getType();
			
			if(mat == Material.CHEST)
			{
				int power = block.getBlockPower(BlockFace.SELF);
			    if(power > 3)
			    {
				    Player player = event.getPlayer();
				    player.sendMessage(ChatColor.RED + "Careful! That chest is boobie trapped!");
			    }
			}
		}
	}
		return;
	}