fixed bug with nbt data

Signed-off-by: makidelille <makidelille@hotmail.fr>