增加对entity tick的拦截与判定
This commit is contained in:
@ -140,7 +140,7 @@
|
||||
this.field_154332_n = new ServerEula(new File("eula.txt"));
|
||||
|
||||
if (!this.field_154332_n.func_154346_a())
|
||||
@@ -172,6 +231,17 @@
|
||||
@@ -172,6 +231,18 @@
|
||||
this.setServerPort(this.settings.getIntProperty("server-port", 25565));
|
||||
}
|
||||
|
||||
@ -153,12 +153,13 @@
|
||||
+ kcauldronConfig.registerCommands();
|
||||
+ cauldronConfig.registerCommands();
|
||||
+ tileEntityConfig.registerCommands();
|
||||
+ entityConfig.registerCommands();
|
||||
+ // Cauldron end
|
||||
+
|
||||
field_155771_h.info("Generating keypair");
|
||||
this.setKeyPair(CryptManager.createNewKeyPair());
|
||||
field_155771_h.info("Starting Minecraft server on " + (this.getServerHostname().length() == 0 ? "*" : this.getServerHostname()) + ":" + this.getServerPort());
|
||||
@@ -180,7 +250,7 @@
|
||||
@@ -180,7 +251,7 @@
|
||||
{
|
||||
this.func_147137_ag().addLanEndpoint(inetaddress, this.getServerPort());
|
||||
}
|
||||
@ -167,7 +168,7 @@
|
||||
{
|
||||
field_155771_h.warn("**** FAILED TO BIND TO PORT!");
|
||||
field_155771_h.warn("The exception was: {}", new Object[] {ioexception.toString()});
|
||||
@@ -196,10 +266,17 @@
|
||||
@@ -196,10 +267,17 @@
|
||||
field_155771_h.warn("To change this, set \"online-mode\" to \"true\" in the server.properties file.");
|
||||
}
|
||||
|
||||
@ -187,7 +188,7 @@
|
||||
|
||||
if (!PreYggdrasilConverter.func_152714_a(this.settings))
|
||||
{
|
||||
@@ -208,7 +285,8 @@
|
||||
@@ -208,7 +286,8 @@
|
||||
else
|
||||
{
|
||||
FMLCommonHandler.instance().onServerStarted();
|
||||
@ -197,7 +198,7 @@
|
||||
long j = System.nanoTime();
|
||||
|
||||
if (this.getFolderName() == null)
|
||||
@@ -274,11 +352,30 @@
|
||||
@@ -274,11 +353,30 @@
|
||||
this.theRConThreadMain.startThread();
|
||||
}
|
||||
|
||||
@ -228,7 +229,7 @@
|
||||
public boolean canStructuresSpawn()
|
||||
{
|
||||
return this.canSpawnStructures;
|
||||
@@ -364,11 +461,19 @@
|
||||
@@ -364,11 +462,19 @@
|
||||
|
||||
public void executePendingCommands()
|
||||
{
|
||||
|
Reference in New Issue
Block a user