Protocol switches could reference values absent from their preceding mapper, causing undefined dispatch behavior
There should be sanity check to ensure switches happen on enum values that are defined, if the interpreter/compiler knows what the possible enumerated values are (custom datatypes may not make this information available for sanity check)
Related
Protocol switches could reference values absent from their preceding mapper, causing undefined dispatch behavior
There should be sanity check to ensure switches happen on enum values that are defined, if the interpreter/compiler knows what the possible enumerated values are (custom datatypes may not make this information available for sanity check)
Related
switcherrors PrismarineJS/minecraft-data#1286