9
0
mirror of https://github.com/BX-Team/DivineMC.git synced 2026-01-04 15:31:43 +00:00

Updated Upstream (Purpur)

Upstream has released updates that appear to apply and compile correctly

Purpur Changes:
PurpurMC/Purpur@9d1d9fd [ci skip] inline import
PurpurMC/Purpur@1b5ab0c Updated Upstream (Paper)
PurpurMC/Purpur@4b74604 [ci skip] enable caching (#1634)
This commit is contained in:
NONPLAYT
2025-01-19 18:02:56 +03:00
parent 8cb67d404f
commit 32b80ea775
8 changed files with 83 additions and 18 deletions

View File

@@ -1,11 +0,0 @@
--- a/net/minecraft/world/entity/projectile/AbstractArrow.java
+++ b/net/minecraft/world/entity/projectile/AbstractArrow.java
@@ -344,7 +_,7 @@
return this.isInGround() && this.level().noCollision(new AABB(this.position(), this.position()).inflate(0.06));
}
- private void startFalling() {
+ public void startFalling() { // DivineMC - private -> public - AbstractArrow#startFalling
this.setInGround(false);
Vec3 deltaMovement = this.getDeltaMovement();
this.setDeltaMovement(deltaMovement.multiply(this.random.nextFloat() * 0.2F, this.random.nextFloat() * 0.2F, this.random.nextFloat() * 0.2F));