Fixing overriding of schematics
Dieser Commit ist enthalten in:
Ursprung
c099d799e1
Commit
d18b4c53c0
@ -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