Fix last patch :3

This commit is contained in:
William Blake Galbreath
2020-11-04 13:28:34 -06:00
parent a43bb368d0
commit cf3e3e723b

View File

@@ -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)
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
+++ b/src/main/java/net/minecraft/server/EntityArrow.java
@@ -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.despawnCounter = 0;
+ this.despawnCounter = 0; // Purpur - do not reset despawn counter
+ // this.despawnCounter = 0; // Purpur - do not reset despawn counter
}
@Override