Apply dart autofixes
This commit is contained in:
parent
fdb5669897
commit
7ec3ea33d1
2 changed files with 2 additions and 2 deletions
|
@ -198,7 +198,7 @@ class CompoundTag extends Tag implements Map<String, Tag> {
|
|||
@override
|
||||
Tag? remove(Object? key) {
|
||||
if (key is Tag && value.containsKey(key))
|
||||
(key as Tag).setParentTagType(TagType.End);
|
||||
(key).setParentTagType(TagType.End);
|
||||
return value.remove(key);
|
||||
}
|
||||
|
||||
|
|
|
@ -77,7 +77,7 @@ class PacketClient {
|
|||
connected = true;
|
||||
lastIP = IPAddress;
|
||||
this.port = port;
|
||||
} catch (E, stack) {
|
||||
} catch (E) {
|
||||
connected = false;
|
||||
socket = null;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue