Implement IntTag
This commit is contained in:
parent
120328533c
commit
5642a7f693
2 changed files with 15 additions and 7 deletions
|
@ -3,7 +3,7 @@ import 'package:libac_flutter/nbt/impl/CompoundTag.dart';
|
|||
import 'package:libac_flutter/nbt/impl/DoubleTag.dart';
|
||||
import 'package:libac_flutter/nbt/impl/EndTag.dart';
|
||||
import 'package:libac_flutter/nbt/impl/FloatTag.dart';
|
||||
import 'package:libac_flutter/nbt/impl/TagInt.dart';
|
||||
import 'package:libac_flutter/nbt/impl/IntTag.dart';
|
||||
import 'package:libac_flutter/nbt/impl/TagLong.dart';
|
||||
import 'package:libac_flutter/nbt/impl/TagShort.dart';
|
||||
|
||||
|
@ -98,7 +98,7 @@ abstract class Tag {
|
|||
case TagType.Short:
|
||||
return new TagShort(value: 0);
|
||||
case TagType.Int:
|
||||
return new TagInt(value: 0);
|
||||
return new IntTag();
|
||||
case TagType.Long:
|
||||
return new TagLong(value: 0);
|
||||
case TagType.Float:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue