summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorErik Broes <erikbroes@grum.nl>2011-01-23 15:51:58 +0100
committerErik Broes <erikbroes@grum.nl>2011-01-23 15:52:23 +0100
commit5f997be0b344897db84f788a3778e93237be2f15 (patch)
tree69525c710401dff933f132299623efbd353bf881 /src/main
parentab3412e8781e1f3e3f94aa2690cc95120b70a8a2 (diff)
downloadcraftbukkit-5f997be0b344897db84f788a3778e93237be2f15.tar
craftbukkit-5f997be0b344897db84f788a3778e93237be2f15.tar.gz
craftbukkit-5f997be0b344897db84f788a3778e93237be2f15.tar.lz
craftbukkit-5f997be0b344897db84f788a3778e93237be2f15.tar.xz
craftbukkit-5f997be0b344897db84f788a3778e93237be2f15.zip
Fixed painting placement
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/net/minecraft/server/EntityPainting.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/EntityPainting.java b/src/main/java/net/minecraft/server/EntityPainting.java
index 65c3661e..cc9f9193 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);