state.setType(getMaterial());
if (!(state.getData() instanceof Sign)) {
warnMaterialData(Sign.class, state.getData());
return;
}
Sign sign = (Sign) state.getData();
sign.setFacingDirection(sign.isWallSign() ? face : player.getFacing().getOppositeFace());
}