ICustomGui:

-Added clear() function for clearing all components
This commit is contained in:
Luis C.M committed 2023-06-04 18:11:36 -05:00
1 parent ad9c1b418d
commit a2c6f07185
1 file changed
+4
@@ -59,6 +59,10 @@ public class ScriptGui implements ICustomGui {
return new ArrayList<>(this.components.values());
}
public void clear() {
this.components.clear();
}
public List<IItemSlot> getSlots() {
return this.slots;
}