blob: f28a690f4072dd32a9e9549d68ec0ee8dd1cd668 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--- 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);
}
|