First pass on 1.17.1 update. 13 errors left
This commit is contained in:
parent
3edf36e0ef
commit
08a2cdb081
24 changed files with 69 additions and 67 deletions
|
@ -74,7 +74,7 @@ public class TRDispenserBehavior {
|
|||
public ItemStack dispenseSilently(BlockPointer pointer, ItemStack stack) {
|
||||
DynamicCellItem cell = (DynamicCellItem) stack.getItem();
|
||||
WorldAccess iWorld = pointer.getWorld();
|
||||
BlockPos blockPos = pointer.getBlockPos().offset(pointer.getBlockState().get(DispenserBlock.FACING));
|
||||
BlockPos blockPos = pointer.getPos().offset(pointer.getBlockState().get(DispenserBlock.FACING));
|
||||
BlockState blockState = iWorld.getBlockState(blockPos);
|
||||
Block block = blockState.getBlock();
|
||||
if (cell.getFluid(stack) == Fluids.EMPTY) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue