rotfl
This commit is contained in:
1 parent
0910bc8779
commit
159e2d94a0
1 file changed
+2
-2
@@ -420,11 +420,11 @@ public class NBTSerializableValue extends Value implements ContainerValueInterfa
|
|||||||
if (tag instanceof NbtCompound)
|
if (tag instanceof NbtCompound)
|
||||||
return !((NbtCompound) tag).isEmpty();
|
return !((NbtCompound) tag).isEmpty();
|
||||||
if (tag instanceof AbstractNbtList)
|
if (tag instanceof AbstractNbtList)
|
||||||
return ((AbstractNbtList) tag).isEmpty();
|
return !((AbstractNbtList) tag).isEmpty();
|
||||||
if (tag instanceof AbstractNbtNumber)
|
if (tag instanceof AbstractNbtNumber)
|
||||||
return ((AbstractNbtNumber) tag).doubleValue()!=0.0;
|
return ((AbstractNbtNumber) tag).doubleValue()!=0.0;
|
||||||
if (tag instanceof NbtString)
|
if (tag instanceof NbtString)
|
||||||
return tag.asString().isEmpty();
|
return !tag.asString().isEmpty();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user