mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2024-11-22 04:16:17 +00:00
17 lines
810 B
Diff
17 lines
810 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;
|
|
@@ -92,7 +93,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) {
|