now that impact locks to specific baritone versions this hack can finally be removed yay
This commit is contained in:
@@ -39,9 +39,6 @@ public class BlockUtils {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static Block stringToBlockRequired(String name) {
|
public static Block stringToBlockRequired(String name) {
|
||||||
if (name.equals("lit_redstone_ore")) { // workaround for Impact 4.6 only
|
|
||||||
return stringToBlockRequired("redstone_ore");
|
|
||||||
}
|
|
||||||
Block block = stringToBlockNullable(name);
|
Block block = stringToBlockNullable(name);
|
||||||
Objects.requireNonNull(block);
|
Objects.requireNonNull(block);
|
||||||
return block;
|
return block;
|
||||||
|
|||||||
Reference in New Issue
Block a user