mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-01 19:46:42 +01:00
Fixed cloud stairs using the wrong check for player collission
This commit is contained in:
parent
976a07800e
commit
e1cfe99659
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ public class CloudStairsBlock<T extends Block & Gas> extends AbstractStairsBlock
|
|||
public VoxelShape getCollisionShape(BlockState state, BlockView view, BlockPos pos, EntityContext context) {
|
||||
CloudInteractionContext ctx = (CloudInteractionContext)context;
|
||||
|
||||
if (!getGasState(state).canPlace(ctx)) {
|
||||
if (!getGasState(state).canTouch(ctx)) {
|
||||
return VoxelShapes.empty();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue