mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-19 09:27:43 +01:00
Fix last patch :3
This commit is contained in:
@@ -7,7 +7,7 @@ This prevents keeping arrows alive indefinitely (such as when the block
|
|||||||
the arrow is stuck in gets removed, like a piston head going up/down)
|
the arrow is stuck in gets removed, like a piston head going up/down)
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/server/EntityArrow.java b/src/main/java/net/minecraft/server/EntityArrow.java
|
diff --git a/src/main/java/net/minecraft/server/EntityArrow.java b/src/main/java/net/minecraft/server/EntityArrow.java
|
||||||
index 7f89b269e3..7814c24367 100644
|
index 7f89b269e3..5ec8c9484d 100644
|
||||||
--- a/src/main/java/net/minecraft/server/EntityArrow.java
|
--- a/src/main/java/net/minecraft/server/EntityArrow.java
|
||||||
+++ b/src/main/java/net/minecraft/server/EntityArrow.java
|
+++ b/src/main/java/net/minecraft/server/EntityArrow.java
|
||||||
@@ -243,7 +243,7 @@ public abstract class EntityArrow extends IProjectile {
|
@@ -243,7 +243,7 @@ public abstract class EntityArrow extends IProjectile {
|
||||||
@@ -15,7 +15,7 @@ index 7f89b269e3..7814c24367 100644
|
|||||||
|
|
||||||
this.setMot(vec3d.d((double) (this.random.nextFloat() * 0.2F), (double) (this.random.nextFloat() * 0.2F), (double) (this.random.nextFloat() * 0.2F)));
|
this.setMot(vec3d.d((double) (this.random.nextFloat() * 0.2F), (double) (this.random.nextFloat() * 0.2F), (double) (this.random.nextFloat() * 0.2F)));
|
||||||
- this.despawnCounter = 0;
|
- this.despawnCounter = 0;
|
||||||
+ this.despawnCounter = 0; // Purpur - do not reset despawn counter
|
+ // this.despawnCounter = 0; // Purpur - do not reset despawn counter
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user