diff --git a/legacyver/proto/type.go b/legacyver/proto/type.go deleted file mode 100644 index 880a295..0000000 --- a/legacyver/proto/type.go +++ /dev/null @@ -1,5 +0,0 @@ -package proto - -type legacyType struct { - ProtocolID int32 -} diff --git a/legacyver/protocol.go b/legacyver/protocol.go index 43c2755..eb14144 100644 --- a/legacyver/protocol.go +++ b/legacyver/protocol.go @@ -173,6 +173,8 @@ func (p *Protocol) downgradePackets(pks []packet.Packet, conn *minecraft.Conn) [ func (p *Protocol) upgradePackets(pks []packet.Packet, conn *minecraft.Conn) []packet.Packet { for pkIndex, pk := range pks { switch pk := pk.(type) { + case *packet.ClientCacheStatus: + pk.Enabled = false // TODO: enable when chunk translation is not broken case *legacypacket.CameraPresets: presets := make([]protocol.CameraPreset, len(pk.Presets)) for i, p := range pk.Presets {