From 33d6a9ad531c099f0977af2c7ec9632d2453cac7 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Sat, 1 Apr 2023 14:27:14 +0200 Subject: [PATCH] Fix AI --- SchematicSystem_Core/src/SchematicSystem.properties | 2 +- .../src/de/steamwar/schematicsystem/commands/AprilCommand.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SchematicSystem_Core/src/SchematicSystem.properties b/SchematicSystem_Core/src/SchematicSystem.properties index 0e6d368..f379876 100644 --- a/SchematicSystem_Core/src/SchematicSystem.properties +++ b/SchematicSystem_Core/src/SchematicSystem.properties @@ -261,7 +261,7 @@ AUTO_CHECKER_RESULT_FORBIDDEN_ITEM_NBT=§7Forbidden Item NBT: [{0}, {1}, {2}] -> AUTO_CHECKER_RESULT_TELEPORT_HERE=§7Teleport to block AUTO_CHECKER_RESULT_AFTER_DEADLINE=§cThe deadline has expired: {0} -AI_START=§7The AI is synthesizing a "§e{}§7"... Please wait. +AI_START=§7The AI is synthesizing a "§e{0}§7"... Please wait. AI_FINISH=§7The AI has finished synthesizing. It can be found in your Clipboard. AI_ERROR=§cAn error occurred while synthesizing the schematic. Please try again later or look at the current date. AI_NO_STEAMIES=§cYou have no Steamies. Please buy some Steamies in the shop. \ No newline at end of file diff --git a/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/AprilCommand.java b/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/AprilCommand.java index 342719d..51a26d6 100644 --- a/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/AprilCommand.java +++ b/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/AprilCommand.java @@ -31,7 +31,7 @@ import java.util.List; import java.util.Random; public class AprilCommand extends SWCommand { - private static final Random random = new Random(); + private static final Random random = new Random("AprilCommand".hashCode()); public AprilCommand() { super("ai");