diff --git a/SchematicSystem_Main/src/de/steamwar/schematicsystem/commands/SchematicCommand.java b/SchematicSystem_Main/src/de/steamwar/schematicsystem/commands/SchematicCommand.java index 8014119..d8be893 100644 --- a/SchematicSystem_Main/src/de/steamwar/schematicsystem/commands/SchematicCommand.java +++ b/SchematicSystem_Main/src/de/steamwar/schematicsystem/commands/SchematicCommand.java @@ -179,7 +179,7 @@ public class SchematicCommand implements CommandExecutor { } boolean newSchem = false; - if(schematic == null || schematic.getSchemOwner() == SteamwarUser.get(player.getUniqueId()).getId()){ + if(schematic == null || schematic.getSchemOwner() != SteamwarUser.get(player.getUniqueId()).getId()){ newSchem = true; Schematic.createSchem(args[1], player.getUniqueId(), "", SchematicType.Normal); schematic = Schematic.getSchemFromDB(args[1], player.getUniqueId());