@EventHandler
	public void dragon_duel(EntityDamageByEntityEvent e) {
		if(e.getDamager().getType() == EntityType.ENDER_DRAGON && e.getEntityType() == EntityType.PLAYER) {
			Player p = Player.class.cast(e.getEntity());
			if(PluginVars.isDueling(p)) {
				e.setCancelled(true);
				return;
			}
			new NPCGenerator().generate(e.getDamager(), e.getDamager().getUniqueId());
			try {
				if(DeckGenerator.checkDeckInt(PluginVars.getDeckFor(p))) {
					e.setCancelled(true);
					Inventory i = Bukkit.createInventory(null, 54, "Duel Monsters");
					Duel duel = PluginVars.createDuel(p, i, null, null, null, e.getDamager().getUniqueId());
					p.openInventory(i);
					duel.startDuel();
				} else {
					p.sendMessage("Deck is illegal! Please re-arrange it before dueling.");
				}
			} catch (NoDeckException e1) {
				p.sendMessage("You don't have a deck!");
			}
		}
	}