mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-27 00:04:42 +00:00
Probe stub: nothing stands on air, as on every platform
This commit is contained in:
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());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user