mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2024-12-23 04:47:34 +01:00
- Might've fixed vanilla Trident damage issue
This commit is contained in:
parent
4aec143383
commit
6cf6f741c9
@ -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());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user