Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-15 20:40:07 +01:00
19 Zeilen
600 B
Diff
19 Zeilen
600 B
Diff
--- a/net/minecraft/server/WorldBorder.java
|
|
+++ b/net/minecraft/server/WorldBorder.java
|
|
@@ -17,6 +17,7 @@
|
|
private int i = 29999984;
|
|
private WorldBorder.a j = new WorldBorder.d(6.0E7D);
|
|
public static final WorldBorder.c b = new WorldBorder.c(0.0D, 0.0D, 0.2D, 5.0D, 5, 15, 6.0E7D, 0L, 0.0D);
|
|
+ public WorldServer world; // CraftBukkit
|
|
|
|
public WorldBorder() {}
|
|
|
|
@@ -130,6 +131,7 @@
|
|
}
|
|
|
|
public void a(IWorldBorderListener iworldborderlistener) {
|
|
+ if (a.contains(iworldborderlistener)) return; // CraftBukkit
|
|
this.a.add(iworldborderlistener);
|
|
}
|
|
|