Skip to content

Commit

Permalink
fix portal effect
Browse files Browse the repository at this point in the history
  • Loading branch information
warior456 committed Aug 21, 2024
1 parent fcee0ee commit 91630fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public void randomDisplayTick(BlockState state, World world, BlockPos pos, Rando

@Override
public void onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) {
if(world.isClient())return;
//if(world.isClient())return;
if(entity.canUsePortals(true)){
entity.tryUsePortal(this, pos);
}
Expand Down

0 comments on commit 91630fd

Please sign in to comment.