follow toClientTag() contract in ClientSerializable logic

This commit is contained in:
asie 2018-12-05 16:47:23 +01:00
parent b008571710
commit 1c0decd26c

View file

@ -58,7 +58,7 @@ public abstract class MixinBlockEntity {
}
tag.putString("id", entityId.toString());
((ClientSerializable) self).toClientTag(tag);
tag = ((ClientSerializable) self).toClientTag(tag);
info.setReturnValue(new BlockEntityUpdateClientPacket(getPos(), 127, tag));
info.cancel();
}