mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-08 01:17:47 +01:00
Fix parser namespaces
This commit is contained in:
parent
6be30d803c
commit
81c978ee9b
@ -116,8 +116,8 @@ public record DeclareCommandsPacket(@NotNull List<Node> nodes,
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
case "brigadier:string" -> reader.extractBytes(reader::readVarInt);
|
case "brigadier:string" -> reader.extractBytes(reader::readVarInt);
|
||||||
case "brigadier:entity", "brigadier:score_holder" -> reader.extractBytes(reader::readByte);
|
case "minecraft:entity", "minecraft:score_holder" -> reader.extractBytes(reader::readByte);
|
||||||
case "brigadier:range" -> reader.extractBytes(reader::readBoolean); // https://wiki.vg/Command_Data#minecraft:range, looks fishy
|
case "minecraft:range" -> reader.extractBytes(reader::readBoolean); // https://wiki.vg/Command_Data#minecraft:range, looks fishy
|
||||||
default -> new byte[0]; // unknown
|
default -> new byte[0]; // unknown
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user