aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0566-Item-Rarity-API.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0566-Item-Rarity-API.patch')
-rw-r--r--patches/server/0566-Item-Rarity-API.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0566-Item-Rarity-API.patch b/patches/server/0566-Item-Rarity-API.patch
index d951e3afbf..370339eb5f 100644
--- a/patches/server/0566-Item-Rarity-API.patch
+++ b/patches/server/0566-Item-Rarity-API.patch
@@ -7,10 +7,10 @@ Subject: [PATCH] Item Rarity API
public net.minecraft.world.item.Item rarity
diff --git a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java
-index 8a2b8f8b36e54b97fa2518eb54c31da8fe0d6d67..2039442d5d7f99e6589e4625a76ebbc62944d018 100644
+index 9c8d50e072db0551182dd7ea31eca11c1371702a..38dbbc1977aa29292a89e8f9d8baf6030d89d7d1 100644
--- a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java
+++ b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java
-@@ -510,6 +510,20 @@ public final class CraftMagicNumbers implements UnsafeValues {
+@@ -523,6 +523,20 @@ public final class CraftMagicNumbers implements UnsafeValues {
public String getMainLevelName() {
return ((net.minecraft.server.dedicated.DedicatedServer) net.minecraft.server.MinecraftServer.getServer()).getProperties().levelName;
}