3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-20 21:40:06 +01:00
Paper/nms-patches/WorldBorder.patch
2018-08-26 12:00:00 +10:00

19 Zeilen
512 B
Diff

--- a/net/minecraft/server/WorldBorder.java
+++ b/net/minecraft/server/WorldBorder.java
@@ -15,6 +15,7 @@
private double g;
private int h = 29999984;
private WorldBorder.a i = new WorldBorder.c(6.0E7D);
+ public WorldServer world; // CraftBukkit
public WorldBorder() {}
@@ -124,6 +125,7 @@
}
public void a(IWorldBorderListener iworldborderlistener) {
+ if (a.contains(iworldborderlistener)) return; // CraftBukkit
this.a.add(iworldborderlistener);
}