From 2e938c11bd8c63874f01cacaa90768ab6362830e Mon Sep 17 00:00:00 2001 From: grimmauld Date: Sat, 12 Sep 2020 10:23:25 +0200 Subject: [PATCH] Fix dispense location to be actually where the opening of the dispenser is --- .../components/actors/dispenser/SimplePos.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/simibubi/create/content/contraptions/components/actors/dispenser/SimplePos.java b/src/main/java/com/simibubi/create/content/contraptions/components/actors/dispenser/SimplePos.java index 14d9f9d7d..5da3e0b13 100644 --- a/src/main/java/com/simibubi/create/content/contraptions/components/actors/dispenser/SimplePos.java +++ b/src/main/java/com/simibubi/create/content/contraptions/components/actors/dispenser/SimplePos.java @@ -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