From df191b31338571bf7d967022b488f84827573837 Mon Sep 17 00:00:00 2001 From: Sandertv Date: Sat, 30 Sep 2023 22:55:12 +0200 Subject: [PATCH] block/deepslate.go: Register all axes. Fixes #814. --- server/block/deepslate.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/block/deepslate.go b/server/block/deepslate.go index f02d35ad8..16af0903d 100644 --- a/server/block/deepslate.go +++ b/server/block/deepslate.go @@ -64,7 +64,9 @@ func (d Deepslate) EncodeBlock() (string, map[string]any) { // allDeepslate returns a list of all deepslate block variants. func allDeepslate() (s []world.Block) { for _, t := range DeepslateTypes() { - s = append(s, Deepslate{Type: t}) + for _, axis := range cube.Axes() { + s = append(s, Deepslate{Type: t, Axis: axis}) + } } return }