mojira.dev
MC-307315

Frogs try to eat large magma cubes now

The bug

Previously, frogs would only try to eat small magma cubes. Now, they eat magma cubes of any size.

How to reproduce

  1. Spawn a large magma cube

  2. Spawn several frogs

Expected result

Frogs should ignore it

Observed result

They eat it, dealing damage until it breaks apart into small cubes which are then eaten

Cause

Magma cubes now derive from AbstractCubeMob instead of Slime, but Frog.canEat still checks instanceof Slime

Comments 0

No comments.

tryashtar

(Unassigned)

Unconfirmed

(Unassigned)

26.2-snapshot-1

Retrieved