mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 03:47:27 +00:00
ICustomGui:
-Added clear() function for clearing all components
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user