Apply dart autofixes

This commit is contained in:
zontreck 2024-07-21 05:20:16 -07:00
parent fdb5669897
commit 7ec3ea33d1
2 changed files with 2 additions and 2 deletions

View file

@ -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);
}

View file

@ -77,7 +77,7 @@ class PacketClient {
connected = true;
lastIP = IPAddress;
this.port = port;
} catch (E, stack) {
} catch (E) {
connected = false;
socket = null;
}