mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 07:59:08 +00:00
Full Imports and Code Format Optimization
This commit is contained in:
1 parent
250edf099c
commit
6815f579a7
1192 files changed
+60344
-62167
No files matched your search
@@ -298,7 +298,7 @@ public class ScriptGui implements ICustomGui {
|
||||
ICustomGuiComponent c;
|
||||
while (var3.hasNext()) {
|
||||
c = (ICustomGuiComponent) var3.next();
|
||||
list.appendTag(((ScriptGuiComponent) c).toNBT(new NBTTagCompound()));
|
||||
list.appendTag(c.toNBT(new NBTTagCompound()));
|
||||
}
|
||||
tag.setTag("components", list);
|
||||
list = new NBTTagList();
|
||||
@@ -308,7 +308,7 @@ public class ScriptGui implements ICustomGui {
|
||||
if (c.getID() == -1) {
|
||||
c.setID(this.getMaxId() + 1);
|
||||
}
|
||||
list.appendTag(((ScriptGuiComponent) c).toNBT(new NBTTagCompound()));
|
||||
list.appendTag(c.toNBT(new NBTTagCompound()));
|
||||
}
|
||||
tag.setTag("slots", list);
|
||||
tag.setBoolean("showPlayerInv", this.showPlayerInv);
|
||||
|
||||
Reference in new issue
Block a user