return;
}
if (holdingMat != null) {
holdingMat.onInteract(player, clickedBlock, Action.RIGHT_CLICK, clickedFace);
}
clickedMaterial.onInteract(player, clickedBlock, Action.RIGHT_CLICK, clickedFace);
// If the holding material can be placed, place it
if (holdingMat instanceof Placeable) {
Cause<?> cause = new PlayerClickBlockCause(player, clickedBlock);
short placedData = holding.getData(); // TODO: shouldn't the sub-material deal with this?