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