2021-04-07 07:03:29 +02:00
|
|
|
--- 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;
|
2024-04-23 17:15:00 +02:00
|
|
|
@@ -92,7 +93,7 @@
|
2021-04-07 07:03:29 +02:00
|
|
|
}
|
|
|
|
|
2021-11-21 23:00:00 +01:00
|
|
|
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
|
2021-04-07 07:03:29 +02:00
|
|
|
}
|
|
|
|
|
2021-11-21 23:00:00 +01:00
|
|
|
private static <T> T getRelative(Iterable<T> iterable, @Nullable T t0, boolean flag) {
|