mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 07:17:27 +00:00
Ignore Empty Bytes Data from Modded Blocks
This commit is contained in:
1 parent
9dfd562841
commit
6779bbc93f
1 file changed
+1
-1
@@ -137,7 +137,7 @@ public class NBTJsonUtil {
|
||||
s += json.cut(1);
|
||||
}
|
||||
s = s.trim().toLowerCase();
|
||||
if(s.isEmpty())
|
||||
if(s.isEmpty() || s.contains("bytes]"))
|
||||
return null;
|
||||
try{
|
||||
if(s.endsWith("d")){
|
||||
|
||||
Reference in new issue
Block a user