Merge remote-tracking branch 'origin/master' into fabric/master

# Conflicts:
#	gradle.properties
#	src/main/java/appeng/server/subcommands/SpatialStorageCommand.java
This commit is contained in:
Sebastian Hartte
2020-08-15 17:34:54 +02:00
2 changed files with 6 additions and 5 deletions
@@ -111,7 +111,7 @@ public class SpatialStorageCommand implements ISubCommand {
} }
} }
throw new CommandException(Text.of("Couldn't find a plot for the current position.")); throw new CommandException(new LiteralText("Couldn't find a plot for the current position."));
} }
@@ -121,7 +121,7 @@ public class SpatialStorageCommand implements ISubCommand {
private void teleportBack(ServerCommandSource source, SpatialStoragePlot plot) { private void teleportBack(ServerCommandSource source, SpatialStoragePlot plot) {
TransitionInfo lastTransition = plot.getLastTransition(); TransitionInfo lastTransition = plot.getLastTransition();
if (lastTransition == null) { if (lastTransition == null) {
throw new CommandException(Text.of("This plot doesn't have a last known transition.")); throw new CommandException(new LiteralText("This plot doesn't have a last known transition."));
} }
String command = getTeleportCommand(lastTransition.getWorldId(), lastTransition.getMin().add(0, 1, 0)); String command = getTeleportCommand(lastTransition.getWorldId(), lastTransition.getMin().add(0, 1, 0));
@@ -210,7 +210,8 @@ public class SpatialStorageCommand implements ISubCommand {
} }
if (!(cell.getItem() instanceof SpatialStorageCellItem)) { if (!(cell.getItem() instanceof SpatialStorageCellItem)) {
throw new CommandException(Text.of("Storage cell items don't implement the storage cell interface!")); throw new CommandException(
new LiteralText("Storage cell items don't implement the storage cell interface!"));
} }
SpatialStorageCellItem spatialCellItem = (SpatialStorageCellItem) cell.getItem(); SpatialStorageCellItem spatialCellItem = (SpatialStorageCellItem) cell.getItem();
@@ -317,7 +318,7 @@ public class SpatialStorageCommand implements ISubCommand {
} }
} }
throw new CommandException(Text.of("Couldn't find a plot for the current position.")); throw new CommandException(new LiteralText("Couldn't find a plot for the current position."));
} }
} }
+1 -1
View File
@@ -17,7 +17,7 @@ description="A Mod about Matter, Energy and using them to conquer the world.."
[[dependencies.appliedenergistics2]] [[dependencies.appliedenergistics2]]
modId="forge" modId="forge"
mandatory=true mandatory=true
versionRange="[33.0.0,34.0.0)" versionRange="[33.0.5,34.0.0)"
ordering="NONE" ordering="NONE"
side="BOTH" side="BOTH"