mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-16 12:43:52 -07:00
Fixed painting placement
This commit is contained in:
@@ -100,7 +100,7 @@ public class EntityPainting extends Entity {
|
|||||||
f6 -= d(e.A);
|
f6 -= d(e.A);
|
||||||
}
|
}
|
||||||
f5 += d(e.B);
|
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;
|
float f8 = -0.00625F;
|
||||||
|
|
||||||
z.c(f4 - f1 - f8, f5 - f2 - f8, f6 - f3 - f8, f4 + f1 + f8, f5 + f2 + f8, f6 + f3 + f8);
|
z.c(f4 - f1 - f8, f5 - f2 - f8, f6 - f3 - f8, f4 + f1 + f8, f5 + f2 + f8, f6 + f3 + f8);
|
||||||
|
Reference in New Issue
Block a user