@EventHandler(priority=EventPriority.HIGHEST, ignoreCancelled=true)
	public void onQuit(PlayerQuitEvent event) throws IOException {
		Player player = event.getPlayer();
		if (DataBase.isInCombat(player)) {
			long end = DataBase.getEndingTime(player);
			if (!Clock.isEnded(end)) {
				if (player.getGameMode() != GameMode.CREATIVE) {
					if (Configuration.dropItemsEnabled()) {
						dropItems(player);
					}
					if (Configuration.dropArmorEnabled()) {
						dropArmor(player);
					}
					if (Configuration.dropExpEnabled()) {
						dropExp(player);
					}
				}
			}
		}
	}