geforkt von Mirrors/Paper
Fix despawn rate to be >=
Dieser Commit ist enthalten in:
Ursprung
7313a6b822
Commit
64eb4b8327
@ -1,11 +1,11 @@
|
||||
From 5b09851dfc3f83d53d8591efac06dbdb9079b90d Mon Sep 17 00:00:00 2001
|
||||
From ad6f0ad1cc97e082ab11f471774a88a4dd7c7370 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Mon, 14 Oct 2013 19:20:10 +1100
|
||||
Subject: [PATCH] Arrow Despawn Rate
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/EntityArrow.java b/src/main/java/net/minecraft/server/EntityArrow.java
|
||||
index 3137bcf..344f917 100644
|
||||
index 3137bcf..13903e9 100644
|
||||
--- a/src/main/java/net/minecraft/server/EntityArrow.java
|
||||
+++ b/src/main/java/net/minecraft/server/EntityArrow.java
|
||||
@@ -156,7 +156,7 @@ public class EntityArrow extends Entity implements IProjectile {
|
||||
@ -13,7 +13,7 @@ index 3137bcf..344f917 100644
|
||||
if (block == this.g && i == this.h) {
|
||||
++this.at;
|
||||
- if (this.at == 1200) {
|
||||
+ if (this.at == world.spigotConfig.arrowDespawnRate) {
|
||||
+ if (this.at >= world.spigotConfig.arrowDespawnRate) { // First int after shooter
|
||||
this.die();
|
||||
}
|
||||
} else {
|
||||
@ -34,5 +34,5 @@ index 82d59e7..2ec047c 100644
|
||||
+ }
|
||||
}
|
||||
--
|
||||
1.8.5.2.msysgit.0
|
||||
1.8.3.2
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren