diff --git a/plugin.yml b/plugin.yml index d32d8b6..24250c9 100644 --- a/plugin.yml +++ b/plugin.yml @@ -1,6 +1,6 @@ name: SkStuff author: TheBukor description: A Skript addon which adds extra functionalities such as NBT and extended WorldEdit support. -version: 1.6.3.5 +version: 1.6.3.6 main: me.TheBukor.SkStuff.SkStuff softdepend: [Skript, WorldEdit, VanishNoPacket] \ No newline at end of file diff --git a/src/me/TheBukor/SkStuff/util/NMS_v1_10_R1.java b/src/me/TheBukor/SkStuff/util/NMS_v1_10_R1.java index 2c051da..b04ff4e 100644 --- a/src/me/TheBukor/SkStuff/util/NMS_v1_10_R1.java +++ b/src/me/TheBukor/SkStuff/util/NMS_v1_10_R1.java @@ -414,7 +414,7 @@ public class NMS_v1_10_R1 implements NMSInterface { @Nullable public NBTTagList parse(String listString, ParseContext context) { if (listString.startsWith("[") && listString.endsWith("]")) { - NBTTagCompound tempNBT = parseRawNBT("{SkStuffIsCool:[0:" + listString.substring(1) + "}"); + NBTTagCompound tempNBT = parseRawNBT("{SkStuffIsCool:" + listString + "}"); NBTTagList parsedList = (NBTTagList) tempNBT.get("SkStuffIsCool"); return parsedList; } diff --git a/src/me/TheBukor/SkStuff/util/NMS_v1_7_R4.java b/src/me/TheBukor/SkStuff/util/NMS_v1_7_R4.java index d01ab05..7e7a45e 100644 --- a/src/me/TheBukor/SkStuff/util/NMS_v1_7_R4.java +++ b/src/me/TheBukor/SkStuff/util/NMS_v1_7_R4.java @@ -397,7 +397,7 @@ public class NMS_v1_7_R4 implements NMSInterface { @Nullable public NBTTagList parse(String listString, ParseContext context) { if (listString.startsWith("[") && listString.endsWith("]")) { - NBTTagCompound tempNBT = parseRawNBT("{SkStuffIsCool:[0:" + listString.substring(1) + "}"); + NBTTagCompound tempNBT = parseRawNBT("{SkStuffIsCool:" + listString + "}"); NBTTagList parsedList = (NBTTagList) tempNBT.get("SkStuffIsCool"); return parsedList; } diff --git a/src/me/TheBukor/SkStuff/util/NMS_v1_8_R3.java b/src/me/TheBukor/SkStuff/util/NMS_v1_8_R3.java index 971e9a0..d072519 100644 --- a/src/me/TheBukor/SkStuff/util/NMS_v1_8_R3.java +++ b/src/me/TheBukor/SkStuff/util/NMS_v1_8_R3.java @@ -412,7 +412,7 @@ public class NMS_v1_8_R3 implements NMSInterface { @Nullable public NBTTagList parse(String listString, ParseContext context) { if (listString.startsWith("[") && listString.endsWith("]")) { - NBTTagCompound tempNBT = parseRawNBT("{SkStuffIsCool:[0:" + listString.substring(1) + "}"); + NBTTagCompound tempNBT = parseRawNBT("{SkStuffIsCool:" + listString + "}"); NBTTagList parsedList = (NBTTagList) tempNBT.get("SkStuffIsCool"); return parsedList; } diff --git a/src/me/TheBukor/SkStuff/util/NMS_v1_9_R1.java b/src/me/TheBukor/SkStuff/util/NMS_v1_9_R1.java index e204164..9683e75 100644 --- a/src/me/TheBukor/SkStuff/util/NMS_v1_9_R1.java +++ b/src/me/TheBukor/SkStuff/util/NMS_v1_9_R1.java @@ -414,7 +414,7 @@ public class NMS_v1_9_R1 implements NMSInterface { @Nullable public NBTTagList parse(String listString, ParseContext context) { if (listString.startsWith("[") && listString.endsWith("]")) { - NBTTagCompound tempNBT = parseRawNBT("{SkStuffIsCool:[0:" + listString.substring(1) + "}"); + NBTTagCompound tempNBT = parseRawNBT("{SkStuffIsCool:" + listString + "}"); NBTTagList parsedList = (NBTTagList) tempNBT.get("SkStuffIsCool"); return parsedList; } diff --git a/src/me/TheBukor/SkStuff/util/NMS_v1_9_R2.java b/src/me/TheBukor/SkStuff/util/NMS_v1_9_R2.java index 0b9fd04..3611b4b 100644 --- a/src/me/TheBukor/SkStuff/util/NMS_v1_9_R2.java +++ b/src/me/TheBukor/SkStuff/util/NMS_v1_9_R2.java @@ -414,7 +414,7 @@ public class NMS_v1_9_R2 implements NMSInterface { @Nullable public NBTTagList parse(String listString, ParseContext context) { if (listString.startsWith("[") && listString.endsWith("]")) { - NBTTagCompound tempNBT = parseRawNBT("{SkStuffIsCool:[0:" + listString.substring(1) + "}"); + NBTTagCompound tempNBT = parseRawNBT("{SkStuffIsCool:" + listString + "}"); NBTTagList parsedList = (NBTTagList) tempNBT.get("SkStuffIsCool"); return parsedList; }