Files
MiraiMC/patches/server/0026-Add-NBT-API-as-a-first-class-lib.patch
2022-02-14 17:37:45 +01:00

21 lines
806 B
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: tr7zw <tr7zw@live.de>
Date: Thu, 2 Apr 2020 18:49:38 +0200
Subject: [PATCH] Add NBT API as a first-class lib
Original code by YatopiaMC, licensed under MIT
You can find the original code on https://github.com/YatopiaMC/Yatopia
diff --git a/build.gradle.kts b/build.gradle.kts
index e7f677cb5abb24c52b10087837f44c865140635c..c501ffbd1f49b2da666888bc7737b1370befe07b 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -113,6 +113,7 @@ relocation {
relocate("org.bukkit.craftbukkit" to "org.bukkit.craftbukkit.v$packageVersion") {
exclude("org.bukkit.craftbukkit.Main*")
}
+ relocate("de.tr7zw.changeme.nbtapi" to "de.tr7zw.nbtapi") // Yatopia - Add NBT API as a first-class lib
}
tasks.shadowJar {