We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
The text was updated successfully, but these errors were encountered:
This is not a bug, this is a feature request.
Sorry, something went wrong.
@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
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: