mappings
This commit is contained in:
1 parent
787eb3e41d
commit
9a4e15da48
28 files changed
+176
-149
No files matched your search
@@ -226,7 +226,7 @@ public class BlockRotator
|
||||
{
|
||||
Direction sourceFace = source.getBlockState().get(DispenserBlock.FACING);
|
||||
World world = source.getWorld();
|
||||
BlockPos blockpos = source.getBlockPos().offset(sourceFace); // offset
|
||||
BlockPos blockpos = source.getPos().offset(sourceFace); // offset
|
||||
BlockState iblockstate = world.getBlockState(blockpos);
|
||||
Block block = iblockstate.getBlock();
|
||||
|
||||
@@ -274,7 +274,7 @@ public class BlockRotator
|
||||
}
|
||||
}
|
||||
// Send block update to the block that just have been rotated.
|
||||
world.updateNeighbor(blockpos, block, source.getBlockPos());
|
||||
world.updateNeighbor(blockpos, block, source.getPos());
|
||||
|
||||
return stack;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user