diff options
Diffstat (limited to 'src/nbt.rs')
-rw-r--r-- | src/nbt.rs | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -30,8 +30,11 @@ impl NamedTag { impl TestRandom for NamedTag { fn test_gen_random() -> Self { Self { - name: String::test_gen_random(), - payload: Tag::test_gen_random(), + name: "".to_owned(), + payload: Tag::Compound(vec!(Self{ + name: String::test_gen_random(), + payload: Tag::test_gen_random(), + })), } } } |