mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-30 04:19:27 +00:00
fix(bukkit): 修正反射问题
This commit is contained in:
@@ -3746,7 +3746,7 @@ public final class CoreReflections {
|
||||
.orElse( null);
|
||||
|
||||
public static final Field field$ServerCommonPacketListenerImpl$closed = MiscUtils.requireNonNullIf(
|
||||
ReflectionUtils.getDeclaredField(clazz$ServerCommonPacketListenerImpl, boolean.class, VersionHelper.isOrAbove1_21_6() ? 1 : 2),
|
||||
ReflectionUtils.getDeclaredField(clazz$ServerCommonPacketListenerImpl, "closed", "n"),
|
||||
VersionHelper.isOrAbove1_20_5()
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user