brady more like brainletdy
This commit is contained in:
parent
688853c523
commit
a76cf0fe9a
@ -46,7 +46,7 @@ public class BuildCommand extends Command {
|
|||||||
public void execute(String label, IArgConsumer args) throws CommandException {
|
public void execute(String label, IArgConsumer args) throws CommandException {
|
||||||
File file = args.getDatatypePost(RelativeFile.INSTANCE, schematicsDir).getAbsoluteFile();
|
File file = args.getDatatypePost(RelativeFile.INSTANCE, schematicsDir).getAbsoluteFile();
|
||||||
if (FilenameUtils.getExtension(file.getAbsolutePath()).isEmpty()) {
|
if (FilenameUtils.getExtension(file.getAbsolutePath()).isEmpty()) {
|
||||||
file = new File(file.getAbsolutePath() + "." + Baritone.settings().schematicFallbackExtension);
|
file = new File(file.getAbsolutePath() + "." + Baritone.settings().schematicFallbackExtension.value);
|
||||||
}
|
}
|
||||||
BetterBlockPos origin = ctx.playerFeet();
|
BetterBlockPos origin = ctx.playerFeet();
|
||||||
BetterBlockPos buildOrigin;
|
BetterBlockPos buildOrigin;
|
||||||
|
Loading…
Reference in New Issue
Block a user