Squashed below commits
nbt chat message fixes some bug chunk temp relocate module items id
This commit is contained in:
@ -387,7 +387,7 @@ func (d *Decoder) unmarshal(val reflect.Value, tagType byte) error {
|
||||
// Fall back to linear search.
|
||||
for i := range fields.list {
|
||||
ff := &fields.list[i]
|
||||
if strings.EqualFold(ff.name, tn) {
|
||||
if strings.EqualFold(ff.name, tn) || ff.asDefault && tn == "" {
|
||||
f = ff
|
||||
break
|
||||
}
|
||||
|
Reference in New Issue
Block a user