Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
e3a984ca72
1 file changed
+5
+5
@@ -146,6 +146,11 @@ public class AttributeSnapshotWrapper extends WrappedPacket {
|
||||
}
|
||||
}
|
||||
|
||||
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);
|
||||
|
||||
Reference in new issue
Block a user