mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-09-01 18:17:55 +00:00
@@ -114,7 +114,11 @@ public class TileMonitor extends TileGeneric implements IPeripheralTile
|
||||
{
|
||||
if( !getWorld().isClient )
|
||||
{
|
||||
monitorTouched( (float) hit.getPos().x, (float) hit.getPos().y, (float) hit.getPos().z );
|
||||
monitorTouched(
|
||||
(float) (hit.getPos().x - hit.getBlockPos().getX()),
|
||||
(float) (hit.getPos().y - hit.getBlockPos().getY()),
|
||||
(float) (hit.getPos().z - hit.getBlockPos().getZ())
|
||||
);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user