mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-05 10:20:53 +01:00
19 lines
512 B
Diff
19 lines
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() {}
|
|
|
|
@@ -128,6 +129,7 @@
|
|
}
|
|
|
|
public void a(IWorldBorderListener iworldborderlistener) {
|
|
+ if (a.contains(iworldborderlistener)) return; // CraftBukkit
|
|
this.a.add(iworldborderlistener);
|
|
}
|
|
|