- Might've fixed vanilla Trident damage issue

This commit is contained in:
Dancull47 2021-09-30 02:27:55 -04:00
parent 4aec143383
commit 6cf6f741c9

View File

@ -154,6 +154,9 @@ public class PlayerListener implements Listener {
return;
NBTItem nbtItem = MythicLib.plugin.getVersion().getWrapper().getNBTItem(item.getItem());
if (!nbtItem.hasType())
return;
Type type = Type.get(nbtItem.getType());
PlayerData playerData = PlayerData.get((Player) event.getEntity().getShooter());