Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-03 14:50:30 +01:00
read nbt in 1.14 chunk, pose metatype, don't change ping protocol if different from provider
Dieser Commit ist enthalten in:
Ursprung
4ca25df410
Commit
19a75abaf3
@ -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;
|
||||
|
@ -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());
|
||||
}
|
||||
|
@ -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);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren