1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-01-29 19:17:59 +01:00

Patch rebuild.

This commit is contained in:
md_5 2016-03-01 11:23:45 +11:00
parent 1aea01cf29
commit 3a8393c53a
2 changed files with 5 additions and 5 deletions

View file

@ -428,9 +428,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
return this.world; return this.world;
} }
@@ -0,0 +0,0 @@ public abstract class World implements IBlockAccess { @@ -0,0 +0,0 @@ public abstract class World implements IBlockAccess {
this.isClientSide = flag; this.N.world = (WorldServer) this;
this.N = worldprovider.getWorldBorder(); this.getServer().addWorld(this.world);
this.getServer().addWorld(this.world); // CraftBukkit // CraftBukkit end
+ timings = new SpigotTimings.WorldTimingsHandler(this); // Spigot - code below can generate new world and access timings + timings = new SpigotTimings.WorldTimingsHandler(this); // Spigot - code below can generate new world and access timings
} }

View file

@ -24,8 +24,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
public CraftWorld getWorld() { public CraftWorld getWorld() {
return this.world; return this.world;
@@ -0,0 +0,0 @@ public abstract class World implements IBlockAccess { @@ -0,0 +0,0 @@ public abstract class World implements IBlockAccess {
this.N = worldprovider.getWorldBorder(); this.getServer().addWorld(this.world);
this.getServer().addWorld(this.world); // CraftBukkit // CraftBukkit end
timings = new SpigotTimings.WorldTimingsHandler(this); // Spigot - code below can generate new world and access timings timings = new SpigotTimings.WorldTimingsHandler(this); // Spigot - code below can generate new world and access timings
+ this.entityLimiter = new org.spigotmc.TickLimiter(spigotConfig.entityMaxTickTime); + this.entityLimiter = new org.spigotmc.TickLimiter(spigotConfig.entityMaxTickTime);
+ this.tileLimiter = new org.spigotmc.TickLimiter(spigotConfig.tileMaxTickTime); + this.tileLimiter = new org.spigotmc.TickLimiter(spigotConfig.tileMaxTickTime);