mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-13 05:21:46 +01:00
Fix dispense location to be actually where the opening of the dispenser is
This commit is contained in:
parent
c572b48bbe
commit
2e938c11bd
1 changed files with 6 additions and 6 deletions
|
@ -3,14 +3,14 @@ package com.simibubi.create.content.contraptions.components.actors.dispenser;
|
|||
import net.minecraft.dispenser.IPosition;
|
||||
|
||||
public class SimplePos implements IPosition {
|
||||
private final int x;
|
||||
private final int y;
|
||||
private final int z;
|
||||
private final double x;
|
||||
private final double y;
|
||||
private final double z;
|
||||
|
||||
public SimplePos(double x, double y, double z) {
|
||||
this.x = (int) Math.round(x);
|
||||
this.y = (int) Math.round(y);
|
||||
this.z = (int) Math.round(z);
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
this.z = z;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue