MCPcopy Create free account
hub / github.com/boazy/TWEditorEnhanced / setTopLevelStruct

Method setTopLevelStruct

src/main/java/Database.java:101–107  ·  view source on GitHub ↗
(DBElement struct)

Source from the content-addressed store, hash-verified

99 }
100
101 public void setTopLevelStruct(DBElement struct)
102 {
103 if (struct.getType() != 14) {
104 throw new IllegalArgumentException("Database element is not a structure");
105 }
106 this.topLevelStruct = struct;
107 }
108
109 public void load()
110 throws DBException, IOException

Callers

nothing calls this directly

Calls 1

getTypeMethod · 0.45

Tested by

no test coverage detected