Some more compilation issues

This commit is contained in:
Bjarne Koll
2025-06-01 17:04:02 +02:00
parent 20136f71ca
commit a1bfc19ab3
24 changed files with 106 additions and 72 deletions

View File

@@ -141,7 +141,7 @@
+ "pack_format": %d
+ }
+ }
+ """.formatted(SharedConstants.getCurrentVersion().getPackVersion(net.minecraft.server.packs.PackType.SERVER_DATA))
+ """.formatted(SharedConstants.getCurrentVersion().packVersion(net.minecraft.server.packs.PackType.SERVER_DATA))
+ );
+ } catch (java.io.IOException ex) {
+ throw new RuntimeException("Could not initialize Bukkit datapack", ex);