@EventHandler(priority=EventPriority.NORMAL)
	public void click(PlayerInteractEvent event) {
		if (event.getClickedBlock() == null)
			return;
		Block i = event.getClickedBlock();
		if ((event.hasItem()) && (event.getAction() == Action.RIGHT_CLICK_BLOCK)) {
			CustomBlock toPlace = this.plugin.getCustomBlock(event.getItem());
			if (toPlace != null) {
				toPlace.handlePlace(event, this.plugin);
				event.setUseItemInHand(Event.Result.DENY);
				event.setCancelled(true);
				return;
			}
		}
		CustomBlock block = this.plugin.getCustomBlock(i);
		if (block == null)
			return;
		if (event.getAction() == Action.LEFT_CLICK_BLOCK) {
			block.leftClick(event);
			return;
		}
		if (event.getAction() == Action.RIGHT_CLICK_BLOCK) {
			block.rightClick(event);
			return;
		}
	}