From 25c59b0eaeb7eec0c7a26a6725be25de1fbe5a9e Mon Sep 17 00:00:00 2001 From: tr7zw Date: Sun, 16 Jun 2024 22:51:48 +0200 Subject: [PATCH] Fix build --- .../nbtapi/utils/nmsmappings/ReflectionMethod.java | 8 ++++---- .../java/dev/tr7zw/mappingsparser/MappingsParser.java | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/item-nbt-api/src/main/java/de/tr7zw/changeme/nbtapi/utils/nmsmappings/ReflectionMethod.java b/item-nbt-api/src/main/java/de/tr7zw/changeme/nbtapi/utils/nmsmappings/ReflectionMethod.java index 74b156f87..3970b5e93 100644 --- a/item-nbt-api/src/main/java/de/tr7zw/changeme/nbtapi/utils/nmsmappings/ReflectionMethod.java +++ b/item-nbt-api/src/main/java/de/tr7zw/changeme/nbtapi/utils/nmsmappings/ReflectionMethod.java @@ -432,11 +432,11 @@ public ClassWrapper getParentClassWrapper() { return parentClassWrapper; } - private static class Since { - final MinecraftVersion version; - final String name; + public static class Since { + public final MinecraftVersion version; + public final String name; - private Since(MinecraftVersion version, String name) { + public Since(MinecraftVersion version, String name) { this.version = version; this.name = name; } diff --git a/mappings-parser/src/main/java/dev/tr7zw/mappingsparser/MappingsParser.java b/mappings-parser/src/main/java/dev/tr7zw/mappingsparser/MappingsParser.java index 05bed5e57..5e767cece 100644 --- a/mappings-parser/src/main/java/dev/tr7zw/mappingsparser/MappingsParser.java +++ b/mappings-parser/src/main/java/dev/tr7zw/mappingsparser/MappingsParser.java @@ -3,7 +3,6 @@ import java.io.File; import java.io.IOException; import java.nio.file.Files; -import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map;