@EventHandler
	public void handleDamage(EntityDamageEvent event) {
		
		Entity entity = event.getEntity();
		
		if (entity instanceof Player) {
			
			Player player = (Player) entity;
			Cuboid cuboid = Cuboid.getCuboid(player.getLocation());
			
			if (cuboid != null) {
				
				if (cuboid.hasEvent(CuboidEvent.God)) {
					event.setCancelled(true);
				}
				
				if (event instanceof EntityDamageByEntityEvent) {
					
					Entity damager = ((EntityDamageByEntityEvent) event).getDamager();
					
					if (!cuboid.hasEvent(CuboidEvent.PvP)) {
						
						if (damager instanceof Arrow) {
							
							damager = ((Arrow) damager).getShooter();
							
							if (damager instanceof Player)
								event.setCancelled(true);
						}
						
						if (damager instanceof Player)
							event.setCancelled(true);
					}
				}
			}
		}
	}