Fixing overriding of schematics #36
@ -179,7 +179,7 @@ public class SchematicCommand implements CommandExecutor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
boolean newSchem = false;
|
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;
|
newSchem = true;
|
||||||
Schematic.createSchem(args[1], player.getUniqueId(), "", SchematicType.Normal);
|
Schematic.createSchem(args[1], player.getUniqueId(), "", SchematicType.Normal);
|
||||||
schematic = Schematic.getSchemFromDB(args[1], player.getUniqueId());
|
schematic = Schematic.getSchemFromDB(args[1], player.getUniqueId());
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren