mojira.dev
MC-234737

Typo in exception message: "EmtyPoolElement"

The bug

While reproducing MC-227202 and MC-227945, a frequent error is logged:

Exception loading structure piece with id minecraft:jigsaw
java.lang.IllegalStateException: Invalid call to EmtyPoolElement.getBoundingBox, filter me!

This is a typo, the word is missing a "p". It is supposed to be EmptyPoolElement.

Analysis

There's a typo in the exception message.

net.minecraft.world.level.levelgen.feature.structures.EmptyPoolElement.java (Mojang mappings, 1.18-pre1)

...
@Override
    public BoundingBox getBoundingBox(...) {
        throw new IllegalStateException("Invalid call to EmtyPoolElement.getBoundingBox, filter me!");
    }
...

Linked issues

Comments

Brain81505

Can confirm in 23w03a

pulpetti

In 1.20.6

ampolive

(Unassigned)

Confirmed

Text

1.17.1, 21w37a, 21w39a, 21w40a, 21w41a, ..., 1.19.1 Pre-release 5, 1.19.2, 22w44a, 23w03a, 1.20.6

Retrieved