mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2024-12-28 03:37:36 +01:00
Fix entity ID generator on 1.18.2
This commit is contained in:
parent
6bee8d4d17
commit
28479a85a9
@ -31,7 +31,7 @@ import java.util.function.Supplier;
|
||||
|
||||
public class VersionNMSManager implements NMSManager {
|
||||
|
||||
private static final ReflectField<AtomicInteger> ENTITY_ID_COUNTER_FIELD = ReflectField.lookup(AtomicInteger.class, Entity.class, "b");
|
||||
private static final ReflectField<AtomicInteger> ENTITY_ID_COUNTER_FIELD = ReflectField.lookup(AtomicInteger.class, Entity.class, "c");
|
||||
private final Supplier<Integer> entityIDGenerator;
|
||||
|
||||
public VersionNMSManager(ErrorCollector errorCollector) {
|
||||
|
Loading…
Reference in New Issue
Block a user