Add 1.20.70 & 1.20.60 support + Fix crafting issue (#9)
This commit is contained in:
@@ -677,7 +677,9 @@ func marshalShaped(r protocol.IO, recipe *ShapedRecipe) {
|
||||
r.UUID(&recipe.UUID)
|
||||
r.String(&recipe.Block)
|
||||
r.Varint32(&recipe.Priority)
|
||||
r.Bool(&recipe.AssumeSymmetry)
|
||||
if IsProtoGTE(r, ID671) {
|
||||
r.Bool(&recipe.AssumeSymmetry)
|
||||
}
|
||||
if IsProtoGTE(r, ID685) {
|
||||
protocol.Single(r, &recipe.UnlockRequirement)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user