Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-08 17:20:24 +01:00
Fix crash on scoreboard deletion
Dieser Commit ist enthalten in:
Ursprung
db57916af4
Commit
b7ca30efe8
@ -269,7 +269,8 @@ public class ProtocolSnapshotTo1_12_2 extends Protocol {
|
||||
handler(new PacketHandler() {
|
||||
@Override
|
||||
public void handle(PacketWrapper wrapper) throws Exception {
|
||||
if (wrapper.get(Type.BYTE, 0) == 0 || wrapper.get(Type.BYTE, 0) == 1) {
|
||||
// On create or update
|
||||
if (wrapper.get(Type.BYTE, 0) == 0 || wrapper.get(Type.BYTE, 0) == 2) {
|
||||
wrapper.passthrough(Type.STRING);
|
||||
String type = wrapper.read(Type.STRING);
|
||||
// integer or hearts
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren