From d519f75b5eb0100579f4f29ec624ef889ee955db Mon Sep 17 00:00:00 2001 From: Sandertv Date: Sat, 30 Sep 2023 23:10:47 +0200 Subject: [PATCH] block/deepslate.go: Only register axes for cobbled deepslate. --- server/block/deepslate.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/server/block/deepslate.go b/server/block/deepslate.go index 16af0903d..c0e62b09a 100644 --- a/server/block/deepslate.go +++ b/server/block/deepslate.go @@ -64,7 +64,11 @@ 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() { - for _, axis := range cube.Axes() { + axes := []cube.Axis{0} + if t == NormalDeepslate() { + axes = cube.Axes() + } + for _, axis := range axes { s = append(s, Deepslate{Type: t, Axis: axis}) } }