diff --git a/plugin/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java b/plugin/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java index b3726ad3..6e24c66c 100644 --- a/plugin/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java +++ b/plugin/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java @@ -3029,7 +3029,7 @@ public class DisguiseUtilities { } else if (wrapper instanceof WrapperPlayServerAttachEntity) { return ((WrapperPlayServerAttachEntity) wrapper).getAttachedId(); } else if (wrapper instanceof WrapperPlayServerCollectItem) { - return ((WrapperPlayServerCollectItem) wrapper).getCollectedEntityId(); + return ((WrapperPlayServerCollectItem) wrapper).getCollectorEntityId(); } else { throw new IllegalStateException("The packet " + wrapper.getClass() + " has no entity ID"); }