mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2025-01-06 19:09:27 +01:00
Fix error for 1.12
This commit is contained in:
parent
24b5ed14b8
commit
298ffa0c99
@ -2269,7 +2269,7 @@ public class ReflectionManager {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
disguiseType.setTypeId(ReflectionManager.getEntityType(disguiseType.getEntityType()),
|
disguiseType.setTypeId(NmsVersion.v1_13.isSupported() ? ReflectionManager.getEntityType(disguiseType.getEntityType()) : null,
|
||||||
ReflectionManager.getEntityTypeId(disguiseType.getEntityType()));
|
ReflectionManager.getEntityTypeId(disguiseType.getEntityType()));
|
||||||
|
|
||||||
Entity bukkitEntity = ReflectionManager.getBukkitEntity(nmsEntity);
|
Entity bukkitEntity = ReflectionManager.getBukkitEntity(nmsEntity);
|
||||||
|
Loading…
Reference in New Issue
Block a user