Implement FloatTag
This commit is contained in:
parent
61aebb03ad
commit
120328533c
2 changed files with 15 additions and 7 deletions
|
@ -2,7 +2,7 @@ import 'package:libac_flutter/nbt/impl/ByteArrayTag.dart';
|
|||
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/TagFloat.dart';
|
||||
import 'package:libac_flutter/nbt/impl/FloatTag.dart';
|
||||
import 'package:libac_flutter/nbt/impl/TagInt.dart';
|
||||
import 'package:libac_flutter/nbt/impl/TagLong.dart';
|
||||
import 'package:libac_flutter/nbt/impl/TagShort.dart';
|
||||
|
@ -102,7 +102,7 @@ abstract class Tag {
|
|||
case TagType.Long:
|
||||
return new TagLong(value: 0);
|
||||
case TagType.Float:
|
||||
return new TagFloat(value: 0);
|
||||
return new FloatTag();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue