TechzoneMC / Combat-Tag-Reloaded

Spigot 1.8 Combat Tag with NPCs and Instakill
http://dev.bukkit.org/bukkit-plugins/combat-tag/
Creative Commons Zero v1.0 Universal
6 stars 4 forks source link

Copy from npc to player not player to npc #18

Closed Techcable closed 9 years ago

Techcable commented 9 years ago

the Util copy methods take the target as first arg and source as second arg Unfortunatly the current code in NoPvpPlayerListener doesn't use it right, it is currently

Utils.copyPlayer(quitPlr, npc);

while it should be

Utils.copyNPC(npc, quitPlr);

Should be fixed by 1.0.10