cuberite / cuberite

A lightweight, fast and extensible game server for Minecraft

Home Page:https://cuberite.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Double tall grass drops seeds when broken in creative mode

AirOne01 opened this issue · comments

Client version: 1.12.2
Server OS: Windows 11
Cuberite Commit id: 95bc2ea

Expected behavior

When breaking double tall grass in creative, nothing is dropped

Actual behavior

Seed sometimes drop when breaking double tall grass

Steps to reproduce the behavior

Break double tall grass.

I believe this is actually vanilla (or at least if this isn't vanilla, it's Cuberite's deliberate departure from Vanilla as grass seeds occur normally in creative mode when you destroy a block underneath grass, so more of them is not too bad)

I just realised what i wrote can be missunderstood, sorry about that. I was actually refering to double tall grass.

grass seeds occur normally in creative mode when you destroy a block underneath grass

Exactly, but this behavior somehow doesn't apply when breaking one of the two tall grass blocks in Vanilla. Maybe it was fixed ?

Easy because cBlockBigFlowerHandler literally calls DropBlockAsPickups in its OnBroken handler. This seems deliberate, so we mainly need to figure out if there's justification to do that and change to SetBlock(AIR) if not.

Are you guys still wanting this change to happen? I would be more than happy to make this change for you guys

Yes, thanks! I agree it's a bug.

@bearbin this has been resolved and can be closed