mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -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
@@ -75,10 +75,10 @@ public class EntitySkeleton extends EntityMonster {
|
||||
|
||||
if (this.attackTicks == 0) {
|
||||
EntityArrow entityarrow = new EntityArrow(this.world, this, 1.0F);
|
||||
double d2 = entity.locY + (double) entity.y() - 0.699999988079071D - entityarrow.locY;
|
||||
double d2 = entity.locY + (double) entity.getHeadHeight() - 0.699999988079071D - entityarrow.locY;
|
||||
float f1 = MathHelper.sqrt(d0 * d0 + d1 * d1) * 0.2F;
|
||||
|
||||
this.world.makeSound(this, "random.bow", 1.0F, 1.0F / (this.random.nextFloat() * 0.4F + 0.8F)); // CraftBukkit - moved down
|
||||
// this.world.makeSound(this, "random.bow", 1.0F, 1.0F / (this.random.nextFloat() * 0.4F + 0.8F)); // CraftBukkit - moved down
|
||||
// this.world.addEntity(entityarrow); // CraftBukkit - moved down
|
||||
entityarrow.shoot(d0, d2 + (double) f1, d1, 1.6F, 12.0F);
|
||||
this.attackTicks = 60;
|
||||
|
||||
Reference in new issue
Block a user