mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 02:37:27 +00:00
Fixed index out of bounds exception
This commit is contained in:
1 parent
df069c82c2
commit
2ef93dd35f
1 file changed
+1
-1
@@ -96,7 +96,7 @@ public class DataScript implements IScriptHandler {
|
||||
|
||||
private List<ScriptContainer> readScript(NBTTagList list){
|
||||
List<ScriptContainer> scripts = new ArrayList<>();
|
||||
for (int i = 0; i < 12; i++) {
|
||||
for (int i = 0; i < 15; i++) {
|
||||
scripts.add(new ScriptContainer(this));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user