Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
retrooper committed Jul 17, 2024
2 parents f8fad96 + a9e40c2 commit e3a984c
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,11 @@ protected void load() {
}
}

holderClass = NMSUtils.getNMClassWithoutException("core.Holder");
if (holderClass != null) {
hasHolder = Reflection.getField(attributeSnapshotClass, holderClass, 0) != null;
}

if (attributeSnapshotConstructor == null) {
try {
attributeSnapshotConstructor = attributeSnapshotClass.getConstructor(attributeBaseClass, double.class, Collection.class);
Expand Down

0 comments on commit e3a984c

Please sign in to comment.