summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/PlayerManager.java
diff options
context:
space:
mode:
authorDinnerbone <dinnerbone@dinnerbone.com>2011-02-06 22:53:48 +0000
committerDinnerbone <dinnerbone@dinnerbone.com>2011-02-07 01:51:06 +0000
commit7bdc190637081a8f46c404b556bafc5eccf4903f (patch)
treecf717466ea5531097daebd40cb8562ba61ca56ca /src/main/java/net/minecraft/server/PlayerManager.java
parent8b14c72a8d3537aae52aac69693489a1e9fe5559 (diff)
downloadcraftbukkit-7bdc190637081a8f46c404b556bafc5eccf4903f.tar
craftbukkit-7bdc190637081a8f46c404b556bafc5eccf4903f.tar.gz
craftbukkit-7bdc190637081a8f46c404b556bafc5eccf4903f.tar.lz
craftbukkit-7bdc190637081a8f46c404b556bafc5eccf4903f.tar.xz
craftbukkit-7bdc190637081a8f46c404b556bafc5eccf4903f.zip
Possibly fixed block/chunk leaking
Diffstat (limited to 'src/main/java/net/minecraft/server/PlayerManager.java')
-rw-r--r--src/main/java/net/minecraft/server/PlayerManager.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/PlayerManager.java b/src/main/java/net/minecraft/server/PlayerManager.java
index 3837635b..51dca1b4 100644
--- a/src/main/java/net/minecraft/server/PlayerManager.java
+++ b/src/main/java/net/minecraft/server/PlayerManager.java
@@ -9,9 +9,13 @@ public class PlayerManager {
private PlayerList b = new PlayerList();
private List c = new ArrayList();
private MinecraftServer d;
+ private WorldServer world; // Craftbukkit
- public PlayerManager(MinecraftServer minecraftserver) {
+ // Craftbukkit - change of method signature
+ public PlayerManager(MinecraftServer minecraftserver, WorldServer world) {
this.d = minecraftserver;
+
+ this.world = world; // Craftbukkit
}
public void a() {