mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 20:23:53 -07:00
Update for 1.4_00_01 -- if you bypassed Bukkit, you will most likely break.
This commit is contained in:
@@ -2,23 +2,23 @@ package net.minecraft.server;
|
||||
|
||||
public class WorldManager implements IWorldAccess {
|
||||
|
||||
private MinecraftServer a;
|
||||
private MinecraftServer server;
|
||||
public WorldServer world; // CraftBukkit
|
||||
|
||||
// CraftBukkit - changed signature
|
||||
public WorldManager(MinecraftServer minecraftserver, WorldServer world) {
|
||||
this.a = minecraftserver;
|
||||
this.server = minecraftserver;
|
||||
this.world = world; // CraftBukkit
|
||||
}
|
||||
|
||||
public void a(String s, double d0, double d1, double d2, double d3, double d4, double d5) {}
|
||||
|
||||
public void a(Entity entity) {
|
||||
this.a.k.a(entity);
|
||||
this.server.tracker.a(entity);
|
||||
}
|
||||
|
||||
public void b(Entity entity) {
|
||||
this.a.k.b(entity);
|
||||
this.server.tracker.untrackEntity(entity);
|
||||
}
|
||||
|
||||
public void a(String s, double d0, double d1, double d2, float f, float f1) {}
|
||||
@@ -28,13 +28,13 @@ public class WorldManager implements IWorldAccess {
|
||||
public void a() {}
|
||||
|
||||
public void a(int i, int j, int k) {
|
||||
// CraftBukkit
|
||||
this.a.f.a(i, j, k, world);
|
||||
// CraftBukkit -- add world argument
|
||||
this.server.serverConfigurationManager.flagDirty(i, j, k, world);
|
||||
}
|
||||
|
||||
public void a(String s, int i, int j, int k) {}
|
||||
|
||||
public void a(int i, int j, int k, TileEntity tileentity) {
|
||||
this.a.f.a(i, j, k, tileentity);
|
||||
this.server.serverConfigurationManager.a(i, j, k, tileentity);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user