Probe stub: nothing stands on air, as on every platform

This commit is contained in:
piexel committed 2026-10-10 08:42:00 +02:00
1 parent bed3f5b9cc
commit f26d438ff0
1 file changed
+3
@@ -247,6 +247,9 @@ public final class StubPlatform implements IrisPlatform {
@Override
public boolean canPlaceOnto(PlatformBlockState onto) {
if (onto.isAir()) {
return false;
}
return !isDecorant() || onto instanceof StubBlockState soil && StubPlants.holdsPlants(soil.blockKey());
}