fix tag ids - not tested

This commit is contained in:
creeper123123321 2019-05-01 16:54:09 -03:00
parent e1b06d3872
commit e249ea1f0a
No known key found for this signature in database
GPG Key ID: 0AC57D54786721D1

View File

@ -172,30 +172,17 @@ public class Protocol1_14To1_13_2 extends Protocol {
// Fences and walls tags - used for block connections
wrapper.write(Type.STRING, "minecraft:fences");
wrapper.write(Type.VAR_INT_ARRAY, new Integer[]{
216,
217,
218,
219,
220,
221,
227
189,
248,
472,
473,
474,
475
});
wrapper.write(Type.STRING, "minecraft:walls");
wrapper.write(Type.VAR_INT_ARRAY, new Integer[]{
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255,
256,
257,
258
271,
272,
});
int itemTagsSize = wrapper.read(Type.VAR_INT);
wrapper.write(Type.VAR_INT, itemTagsSize + 2); // item tags