mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-11 18:22:08 -07:00
Update to mcdev rename revision 01 for 1.8.1
This commit is contained in:
@@ -31,11 +31,11 @@ import org.bukkit.block.BlockState;
|
||||
|
||||
public class World implements IBlockAccess {
|
||||
|
||||
public final int a = 7;
|
||||
public final int b = 11;
|
||||
public final int c = 128;
|
||||
public final int d = 127;
|
||||
public final int e = 63;
|
||||
public final int heightBits = 7;
|
||||
public final int heightBitsPlusFour = 11;
|
||||
public final int height = 128;
|
||||
public final int heightMinusOne = 127;
|
||||
public final int seaLevel = 63;
|
||||
public boolean f = false;
|
||||
public List entityList = new ArrayList();
|
||||
private List M = new ArrayList();
|
||||
@@ -59,7 +59,7 @@ public class World implements IBlockAccess {
|
||||
public boolean suppressPhysics = false;
|
||||
private long S = System.currentTimeMillis();
|
||||
protected int u = 40;
|
||||
public int spawnMonsters;
|
||||
public int difficulty;
|
||||
public Random random = new Random();
|
||||
public boolean x = false;
|
||||
public WorldProvider worldProvider; // CraftBukkit - remove final
|
||||
@@ -1038,7 +1038,7 @@ public class World implements IBlockAccess {
|
||||
}
|
||||
}
|
||||
|
||||
public void cleanUp() {
|
||||
public void tickEntities() {
|
||||
int i;
|
||||
Entity entity;
|
||||
|
||||
@@ -1604,7 +1604,7 @@ public class World implements IBlockAccess {
|
||||
if (this.everyoneDeeplySleeping()) {
|
||||
boolean flag = false;
|
||||
|
||||
if (this.allowMonsters && this.spawnMonsters >= 1) {
|
||||
if (this.allowMonsters && this.difficulty >= 1) {
|
||||
flag = SpawnerCreature.a(this, this.players);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user