mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 18:27:41 +01:00
b3a8254758
By: md_5 <git@md-5.net>
17 lines
755 B
Diff
17 lines
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;
|
|
@@ -97,7 +98,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) {
|