3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-11-08 17:20:24 +01:00

fix tag ids - not tested

Dieser Commit ist enthalten in:
creeper123123321 2019-05-01 16:54:09 -03:00
Ursprung e1b06d3872
Commit e249ea1f0a
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 0AC57D54786721D1

Datei anzeigen

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