From cbf4bf8cbfb81bddfff2ef8d309b826e162273f9 Mon Sep 17 00:00:00 2001 From: DaPigGuy Date: Mon, 6 Jan 2025 05:41:56 -0800 Subject: [PATCH] block/decorated_pot.go: Keep sherds when middle click picked --- server/block/decorated_pot.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server/block/decorated_pot.go b/server/block/decorated_pot.go index d0c62a55d..51b632c04 100644 --- a/server/block/decorated_pot.go +++ b/server/block/decorated_pot.go @@ -31,6 +31,11 @@ type DecoratedPot struct { Decorations [4]PotDecoration } +// Pick ... +func (p DecoratedPot) Pick() item.Stack { + return item.NewStack(DecoratedPot{Decorations: p.Decorations}, 1) +} + // ExtractItem ... func (p DecoratedPot) ExtractItem(h Hopper, pos cube.Pos, tx *world.Tx) bool { if p.Item.Empty() {