Open KennyDGP opened 9 years ago
This is not a bug, this is a feature request.
@EventHandler public void onDespawn(NpcDespawnEvent e) { if (e.getDespawnReason().equals(NpcDespawnReason.DEATH)) { FPlayer p = FPlayers.getInstance().getByOfflinePlayer(Bukkit.getOfflinePlayer(e.getNpc().getIdentity().getId())); p.getFaction().updateDTR(); p.getFaction().setDTR(p.getFaction().getDTR() - 1.0); } }
Easy to do yourself
Hey, how's it going?
I use a Hardcore Factions plugin for my server: https://mcexchange.org/resources/hcfactions.2/
The CombatTag plugin doesn't hook in with it so when a user combat logs, and their NPC is killed they don't lose DTR. Anyway you could add that?
I'm using spigot 1.8.8 and the latest dev build of Combat Tag. We tried the current release on spigot and same issue happened.