Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Commit 18ad333

Browse files
committed
Fixed Vector3f
1 parent 89c3c80 commit 18ad333

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/xyz/xenondevs/particle/ParticleConstants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ public final class ParticleConstants {
285285
PARTICLE_ENUM = getMappedClass("EnumParticle");
286286
PARTICLE_CLASS = getMappedClass("Particle");
287287
MINECRAFT_KEY_CLASS = getMappedClass("MinecraftKey");
288-
VECTOR_3FA_CLASS = version < 17 ? getNMSClass("Vector3f") : getClassSafe("com.mojang.math.Vector3fa");
288+
VECTOR_3FA_CLASS = version < 17 ? getNMSClass("Vector3f") : (version < 19.3 ? getClassSafe("com.mojang.math.Vector3fa") : getClassSafe("org.joml.Vector3f"));
289289
REGISTRY_CLASS = getMappedClass("IRegistry");
290290
BUILT_IN_REGISTRIES_CLASS = getMappedClass("BuiltInRegistries");
291291
BLOCK_CLASS = getMappedClass("Block");

0 commit comments

Comments
 (0)