--- 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 > IBlockData cycleState(IBlockData iblockdata, IBlockState 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 getRelative(Iterable iterable, @Nullable T t0, boolean flag) {