Skip to content

Commit

Permalink
Update hopper.go
Browse files Browse the repository at this point in the history
  • Loading branch information
RestartFU committed May 29, 2024
1 parent 3eb264e commit d12a505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/block/hopper.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ func (h Hopper) insertItem(pos cube.Pos, w *world.World) bool {
sourceStack item.Stack
)

for slot, stack := range h.inventory.Items() {
for slot, stack := range h.inventory.Slots() {
if stack.Empty() {
continue
}
Expand Down

0 comments on commit d12a505

Please sign in to comment.