Function optimisation

This commit is contained in:
paulevsGitch 2021-01-22 23:08:08 +03:00
parent bca0994652
commit 7d178dedb0
3 changed files with 8 additions and 4 deletions

View file

@ -68,6 +68,9 @@ public class EternalPedestal extends PedestalBlock {
return result;
}
@Override
protected void activate(World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) {}
@Override
public BlockState getStateForNeighborUpdate(BlockState state, Direction direction, BlockState newState, WorldAccess world, BlockPos pos, BlockPos posFrom) {
BlockState updated = super.getStateForNeighborUpdate(state, direction, newState, world, pos, posFrom);