9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-19 15:09:15 +00:00

修复粒子

This commit is contained in:
XiaoMoMi
2025-06-28 00:55:56 +08:00
parent bd0244ceb8
commit 4780c6628d
2 changed files with 11 additions and 3 deletions

View File

@@ -1487,6 +1487,14 @@ public final class NetworkReflections {
"network.codec.StreamCodec" "network.codec.StreamCodec"
); );
public static final Object instance$ParticleTypes$STREAM_CODEC = !VersionHelper.isOrAbove1_20_5() ? null : public static final Object instance$ParticleTypes$STREAM_CODEC;
ReflectionUtils.getDeclaredField(CoreReflections.clazz$ParticleTypes, clazz$StreamCodec, 0);
static {
try {
instance$ParticleTypes$STREAM_CODEC = !VersionHelper.isOrAbove1_20_5() ? null :
ReflectionUtils.getDeclaredField(CoreReflections.clazz$ParticleTypes, clazz$StreamCodec, 0).get(null);
} catch (ReflectiveOperationException e) {
throw new ReflectionInitException("Failed to initialize ParticleTypes$STREAM_CODEC", e);
}
}
} }

View File

@@ -51,7 +51,7 @@ byte_buddy_version=1.17.5
ahocorasick_version=0.6.3 ahocorasick_version=0.6.3
snake_yaml_version=2.4 snake_yaml_version=2.4
anti_grief_version=0.17 anti_grief_version=0.17
nms_helper_version=1.0.6 nms_helper_version=1.0.8
evalex_version=3.5.0 evalex_version=3.5.0
reactive_streams_version=1.0.4 reactive_streams_version=1.0.4
amazon_awssdk_version=2.31.23 amazon_awssdk_version=2.31.23