@EventHandler
	public void onPlayerBucketFill(PlayerBucketFillEvent event) {

		if (HyperPVP.isCycling()) {
			event.setCancelled(true);
		}

		if (!HyperPVP.hasMatchBeenAnnounced()) {
			event.setCancelled(true);
			return;
		}

		for (Region region : HyperPVP.getMap().getRegions(RegionType.TEAM)) {

			if (region.hasLocation(event.getBlockClicked().getLocation())) {
				event.getPlayer().sendMessage(ChatColor.RED + "You can't fill a bucket on a spawn!");
				event.setCancelled(true);
			}
		}

		if (HyperPVP.getMap().getType() == GameType.DTC || HyperPVP.getMap().getType() == GameType.RTC) {

			for (Region region : HyperPVP.getMap().getRegions(RegionType.DTC)) {

				if (region.hasLocation(event.getBlockClicked().getLocation())) {
					event.getPlayer().sendMessage("You can't fill a bucket from a core!");
					event.setCancelled(true);
				}
			}
		}
	}