mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-27 04:55:47 +01:00
Update to minecraft 1.7_01
This commit is contained in:
parent
a679e7f380
commit
61a7a0633c
2
pom.xml
2
pom.xml
@ -39,7 +39,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.bukkit</groupId>
|
<groupId>org.bukkit</groupId>
|
||||||
<artifactId>minecraft-server</artifactId>
|
<artifactId>minecraft-server</artifactId>
|
||||||
<version>1.7</version>
|
<version>1.7_01</version>
|
||||||
<type>jar</type>
|
<type>jar</type>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
@ -89,7 +89,7 @@ public class MinecraftServer implements Runnable, ICommandListener {
|
|||||||
System.setErr(new PrintStream(new LoggerOutputStream(log, Level.SEVERE), true));
|
System.setErr(new PrintStream(new LoggerOutputStream(log, Level.SEVERE), true));
|
||||||
// CraftBukkit end
|
// CraftBukkit end
|
||||||
|
|
||||||
log.info("Starting minecraft server version Beta 1.7");
|
log.info("Starting minecraft server version Beta 1.7_01");
|
||||||
if (Runtime.getRuntime().maxMemory() / 1024L / 1024L < 512L) {
|
if (Runtime.getRuntime().maxMemory() / 1024L / 1024L < 512L) {
|
||||||
log.warning("**** NOT ENOUGH RAM!");
|
log.warning("**** NOT ENOUGH RAM!");
|
||||||
log.warning("To start the server with more ram, launch it as \"java -Xmx1024M -Xms1024M -jar minecraft_server.jar\"");
|
log.warning("To start the server with more ram, launch it as \"java -Xmx1024M -Xms1024M -jar minecraft_server.jar\"");
|
||||||
|
@ -1609,18 +1609,12 @@ public class World implements IBlockAccess {
|
|||||||
++A;
|
++A;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (A == 50) {
|
if (A != 50) {
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
int k1 = (l + i) / 2;
|
int k1 = (l + i) / 2;
|
||||||
int l1 = (j1 + k) / 2;
|
int l1 = (j1 + k) / 2;
|
||||||
|
|
||||||
if (this.isLoaded(k1, 64, l1)) {
|
if (this.isLoaded(k1, 64, l1)) {
|
||||||
if (this.getChunkAtWorldCoords(k1, l1).isEmpty()) {
|
if (!this.getChunkAtWorldCoords(k1, l1).isEmpty()) {
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
int i2 = this.C.size();
|
int i2 = this.C.size();
|
||||||
int j2;
|
int j2;
|
||||||
|
|
||||||
@ -1645,8 +1639,8 @@ public class World implements IBlockAccess {
|
|||||||
System.out.println("More than " + j2 + " updates, aborting lighting updates");
|
System.out.println("More than " + j2 + " updates, aborting lighting updates");
|
||||||
this.C.clear();
|
this.C.clear();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return;
|
}
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
--A;
|
--A;
|
||||||
|
@ -65,7 +65,7 @@ import org.bukkit.util.config.ConfigurationNode;
|
|||||||
public final class CraftServer implements Server {
|
public final class CraftServer implements Server {
|
||||||
private final String serverName = "Craftbukkit";
|
private final String serverName = "Craftbukkit";
|
||||||
private final String serverVersion;
|
private final String serverVersion;
|
||||||
private final String protocolVersion = "1.7";
|
private final String protocolVersion = "1.7_01";
|
||||||
private final ServicesManager servicesManager = new SimpleServicesManager();
|
private final ServicesManager servicesManager = new SimpleServicesManager();
|
||||||
private final BukkitScheduler scheduler = new CraftScheduler(this);
|
private final BukkitScheduler scheduler = new CraftScheduler(this);
|
||||||
private final SimpleCommandMap commandMap = new SimpleCommandMap(this);
|
private final SimpleCommandMap commandMap = new SimpleCommandMap(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user