From 5f997be0b344897db84f788a3778e93237be2f15 Mon Sep 17 00:00:00 2001 From: Erik Broes Date: Sun, 23 Jan 2011 15:51:58 +0100 Subject: [PATCH] Fixed painting placement --- src/main/java/net/minecraft/server/EntityPainting.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/EntityPainting.java b/src/main/java/net/minecraft/server/EntityPainting.java index 65c3661e3b..cc9f919331 100644 --- a/src/main/java/net/minecraft/server/EntityPainting.java +++ b/src/main/java/net/minecraft/server/EntityPainting.java @@ -100,7 +100,7 @@ public class EntityPainting extends Entity { f6 -= d(e.A); } f5 += d(e.B); - a(f4, f5, f6); + a((double)f4, (double)f5, (double)f6); // CraftBukkit -- forcecast all arguments to double float f8 = -0.00625F; z.c(f4 - f1 - f8, f5 - f2 - f8, f6 - f3 - f8, f4 + f1 + f8, f5 + f2 + f8, f6 + f3 + f8);