From 2e6f480b3842ffd8c02c649f25219f77a02a7051 Mon Sep 17 00:00:00 2001 From: DaPigGuy Date: Mon, 23 Dec 2024 19:19:01 -0800 Subject: [PATCH] block/vine.go: Cleanup --- server/block/vine.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/block/vine.go b/server/block/vine.go index f11766bd4..9c3af9997 100644 --- a/server/block/vine.go +++ b/server/block/vine.go @@ -133,7 +133,7 @@ func (v Vines) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, tx *world. func (v Vines) NeighbourUpdateTick(pos, _ cube.Pos, tx *world.Tx) { above, updated := tx.Block(pos.Side(cube.FaceUp)), false for _, d := range v.Attachments() { - if _, ok := tx.Block(pos.Side(d.Face())).Model().(model.Solid); !ok { + if !v.canSpreadTo(tx, pos.Side(d.Face())) { if o, ok := above.(Vines); !ok || !o.Attachment(d) { //noinspection GoAssignmentToReceiver v = v.SetAttachment(d, false)