SteamWar/SpigotCore
Archiviert
13
0

Fix Schematic Creation
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: Chaoscaot <chaoscaot444@gmail.com>
Dieser Commit ist enthalten in:
Chaoscaot 2021-11-20 13:23:26 +01:00
Ursprung 8095819691
Commit 39378b0c30

Datei anzeigen

@ -77,7 +77,7 @@ public class SchematicNode {
} }
public static SchematicNode createSchematicNode(int owner, String name, Integer parent, String type, String item) { public static SchematicNode createSchematicNode(int owner, String name, Integer parent, String type, String item) {
if (parent == 0) if (parent != null && parent == 0)
parent = null; parent = null;
createNode.update(name, owner, parent, type, item); createNode.update(name, owner, parent, type, item);
return getSchematicNode(owner, name, parent); return getSchematicNode(owner, name, parent);