Apply dart autofixes
This commit is contained in:
parent
2f3991b97c
commit
c10ffc58b8
5 changed files with 22 additions and 14 deletions
|
@ -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
1
lib/nbt/SnbtIo.dart
Normal file
|
@ -0,0 +1 @@
|
|||
class SnbtIo {}
|
|
@ -351,8 +351,9 @@ class ByteLayer {
|
|||
seek(position);
|
||||
int current = readUnsignedByte();
|
||||
return (current & mask) == mask;
|
||||
} else
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
int getBit(int position) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue