mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-26 02:49:44 -05:00
Updated to rename revision 02
This commit is contained in:
1 parent
8524ff8ef7
commit
33ba9f0a2f
100 files changed
+772
-761
No files matched your search
@@ -62,7 +62,7 @@ public class EntityExperienceOrb extends Entity {
|
||||
|
||||
if (!event.isCancelled() && target != null) {
|
||||
double d1 = (target.locX - this.locX) / d0;
|
||||
double d2 = (target.locY + (double) target.y() - this.locY) / d0;
|
||||
double d2 = (target.locY + (double) target.getHeadHeight() - this.locY) / d0;
|
||||
double d3 = (target.locZ - this.locZ) / d0;
|
||||
double d4 = Math.sqrt(d1 * d1 + d2 * d2 + d3 * d3);
|
||||
double d5 = 1.0D - d4;
|
||||
|
||||
Reference in new issue
Block a user