diff --git a/src/main/java/appeng/server/subcommands/SpatialStorageCommand.java b/src/main/java/appeng/server/subcommands/SpatialStorageCommand.java index 3394d9122..0721f9c1b 100644 --- a/src/main/java/appeng/server/subcommands/SpatialStorageCommand.java +++ b/src/main/java/appeng/server/subcommands/SpatialStorageCommand.java @@ -110,7 +110,7 @@ public class SpatialStorageCommand implements ISubCommand { } } - throw new CommandException(ITextComponent.func_244388_a("Couldn't find a plot for the current position.")); + throw new CommandException(new StringTextComponent("Couldn't find a plot for the current position.")); } @@ -120,7 +120,7 @@ public class SpatialStorageCommand implements ISubCommand { private void teleportBack(CommandSource source, SpatialStoragePlot plot) { TransitionInfo lastTransition = plot.getLastTransition(); if (lastTransition == null) { - throw new CommandException(ITextComponent.func_244388_a("This plot doesn't have a last known transition.")); + throw new CommandException(new StringTextComponent("This plot doesn't have a last known transition.")); } String command = getTeleportCommand(lastTransition.getWorldId(), lastTransition.getMin().add(0, 1, 0)); @@ -211,7 +211,7 @@ public class SpatialStorageCommand implements ISubCommand { if (!(cell.getItem() instanceof SpatialStorageCellItem)) { throw new CommandException( - ITextComponent.func_244388_a("Storage cell items don't implement the storage cell interface!")); + new StringTextComponent("Storage cell items don't implement the storage cell interface!")); } SpatialStorageCellItem spatialCellItem = (SpatialStorageCellItem) cell.getItem(); @@ -320,7 +320,7 @@ public class SpatialStorageCommand implements ISubCommand { } } - throw new CommandException(ITextComponent.func_244388_a("Couldn't find a plot for the current position.")); + throw new CommandException(new StringTextComponent("Couldn't find a plot for the current position.")); } }