3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-09-08 13:52:50 +02:00

read nbt in 1.14 chunk, pose metatype, don't change ping protocol if different from provider

Dieser Commit ist enthalten in:
creeper123123321 2019-03-24 13:07:03 -03:00
Ursprung 4ca25df410
Commit 19a75abaf3
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 0AC57D54786721D1
3 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen

Datei anzeigen

@ -27,6 +27,7 @@ public enum MetaType1_14 implements MetaType {
PARTICLE(15, Protocol1_13_2To1_13_1.PARTICLE_TYPE),
VillagerData(16, Type.VILLAGER_DATA),
OptVarInt(17, Type.OPTIONAL_VAR_INT),
Pose(18, Type.VAR_INT),
Discontinued(99, null);
private final int typeID;

Datei anzeigen

@ -81,7 +81,7 @@ public class BaseProtocol1_7 extends Protocol {
}
if (protocols != null) {
if (protocolVersion != 9999) {
if (protocolVersion == protocol || protocolVersion == 0) {
//Fix ServerListPlus
version.addProperty("protocol", info.getProtocolVersion());
}

Datei anzeigen

@ -30,6 +30,7 @@ public class Chunk1_14Type extends PartialType<Chunk, ClientWorld> {
boolean groundUp = input.readBoolean();
int primaryBitmask = Type.VAR_INT.read(input);
Type.NBT.read(input); // todo save this
Type.VAR_INT.read(input);
BitSet usedSections = new BitSet(16);