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

Commit 4551ea0

Browse files
committed
Update ParticleMappings.java
1 parent db59cce commit 4551ea0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ public class ParticleMappings {
5151
static {
5252
double version = ReflectionUtils.MINECRAFT_VERSION;
5353
try (InputStreamReader reader = new InputStreamReader(Objects.requireNonNull(ReflectionUtils.getResourceStreamSafe("mappings.json")))) {
54+
//noinspection deprecation - Outdated gson is used in pre 1.18 versions
5455
JsonArray array = version < 18
5556
? new JsonParser().parse(reader).getAsJsonArray()
5657
: JsonParser.parseReader(reader).getAsJsonArray();

0 commit comments

Comments
 (0)