geforkt von Mirrors/Paper
97cd7810a3
By: md_5 <git@md-5.net>
17 Zeilen
755 B
Diff
17 Zeilen
755 B
Diff
--- 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;
|
|
@@ -91,7 +92,7 @@
|
|
}
|
|
|
|
private static <T extends Comparable<T>> IBlockData a(IBlockData iblockdata, IBlockState<T> iblockstate, boolean flag) {
|
|
- return (IBlockData) iblockdata.set(iblockstate, (Comparable) a((Iterable) iblockstate.getValues(), (Object) iblockdata.get(iblockstate), flag));
|
|
+ return (IBlockData) iblockdata.set(iblockstate, a(iblockstate.getValues(), iblockdata.get(iblockstate), flag)); // CraftBukkit - decompile error
|
|
}
|
|
|
|
private static <T> T a(Iterable<T> iterable, @Nullable T t0, boolean flag) {
|