Apply dart autofixes

This commit is contained in:
zontreck 2024-05-08 14:44:37 -07:00
parent 2f3991b97c
commit c10ffc58b8
5 changed files with 22 additions and 14 deletions

View file

@ -111,9 +111,10 @@ class NbtUtils {
}
static UUID readUUID(CompoundTag tag, String name) {
if (!tag.contains(name))
if (!tag.contains(name)) {
return UUID.ZERO;
else
} else {
return _uuidFromIntArray(tag.get(name)!.asIntArray());
}
}
}

1
lib/nbt/SnbtIo.dart Normal file
View file

@ -0,0 +1 @@
class SnbtIo {}

View file

@ -351,8 +351,9 @@ class ByteLayer {
seek(position);
int current = readUnsignedByte();
return (current & mask) == mask;
} else
} else {
return false;
}
}
int getBit(int position) {