aboutsummaryrefslogtreecommitdiffhomepage
path: root/patch-remap/og/net/minecraft/world/item/ItemDebugStick.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patch-remap/og/net/minecraft/world/item/ItemDebugStick.patch')
-rw-r--r--patch-remap/og/net/minecraft/world/item/ItemDebugStick.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/patch-remap/og/net/minecraft/world/item/ItemDebugStick.patch b/patch-remap/og/net/minecraft/world/item/ItemDebugStick.patch
new file mode 100644
index 0000000000..f1eea636d5
--- /dev/null
+++ b/patch-remap/og/net/minecraft/world/item/ItemDebugStick.patch
@@ -0,0 +1,16 @@
+--- a/net/minecraft/world/item/ItemDebugStick.java
++++ b/net/minecraft/world/item/ItemDebugStick.java
+@@ -1,3 +1,4 @@
++// mc-dev import
+ package net.minecraft.world.item;
+
+ import java.util.Collection;
+@@ -95,7 +96,7 @@
+ }
+
+ private static <T extends Comparable<T>> IBlockData cycleState(IBlockData iblockdata, IBlockState<T> iblockstate, boolean flag) {
+- return (IBlockData) iblockdata.setValue(iblockstate, (Comparable) getRelative(iblockstate.getPossibleValues(), iblockdata.getValue(iblockstate), flag));
++ return (IBlockData) iblockdata.setValue(iblockstate, getRelative(iblockstate.getPossibleValues(), iblockdata.getValue(iblockstate), flag)); // CraftBukkit - decompile error
+ }
+
+ private static <T> T getRelative(Iterable<T> iterable, @Nullable T t0, boolean flag) {