Fix world info bug
This commit is contained in:
parent
9500f1317b
commit
a9abfb2f0d
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -317,6 +317,36 @@ disconnect.endOfStream=End of stream
|
||||||
disconnect.overflow=Buffer overflow
|
disconnect.overflow=Buffer overflow
|
||||||
disconnect.spam=Kicked for spamming
|
disconnect.spam=Kicked for spamming
|
||||||
|
|
||||||
|
disconnect.ratelimit.ipNowLocked.title=Connection Closed
|
||||||
|
disconnect.ratelimit.ipNowLocked.description0=Suspected Denial of Service
|
||||||
|
disconnect.ratelimit.ipNowLocked.description1=Your IP is now blocked
|
||||||
|
disconnect.ratelimit.ipNowLocked.tryAgain=please try again in an hour
|
||||||
|
|
||||||
|
disconnect.ratelimit.ipLocked.title=Connection Refused
|
||||||
|
disconnect.ratelimit.ipLocked.description0=Suspected Denial of Service
|
||||||
|
disconnect.ratelimit.ipLocked.description1=Your IP is still blocked
|
||||||
|
disconnect.ratelimit.ipLocked.tryAgain=please try again in an hour
|
||||||
|
|
||||||
|
disconnect.ratelimit.ipFailedPossiblyLocked.title=Connection Failed
|
||||||
|
disconnect.ratelimit.ipFailedPossiblyLocked.description0=You've been kicked by this server before for suspected
|
||||||
|
disconnect.ratelimit.ipFailedPossiblyLocked.description1=$Denial of Service (DoS), your IP is probably blocked
|
||||||
|
disconnect.ratelimit.ipFailedPossiblyLocked.tryAgain=please try again in an hour
|
||||||
|
|
||||||
|
disconnect.ratelimit.ipBlocked.title=Connection Closed
|
||||||
|
disconnect.ratelimit.ipBlocked.description0=Too many connections from your IP
|
||||||
|
disconnect.ratelimit.ipBlocked.description1=Please try again in a few minutes
|
||||||
|
disconnect.ratelimit.ipBlocked.tryAgain=(Suspected Denial of Service)
|
||||||
|
|
||||||
|
disconnect.ratelimit.kickBlocked.title=Connection Closed
|
||||||
|
disconnect.ratelimit.kickBlocked.description0=You're reconnecting too quickly!
|
||||||
|
disconnect.ratelimit.kickBlocked.description1=Please try again in a minute
|
||||||
|
disconnect.ratelimit.kickBlocked.tryAgain=(too many logins from your IP)
|
||||||
|
|
||||||
|
disconnect.ratelimit.kickLocked.title=Connection Closed
|
||||||
|
disconnect.ratelimit.kickLocked.description0=Suspected Denial of Service
|
||||||
|
disconnect.ratelimit.kickLocked.description1=Logins from you IP are now blocked
|
||||||
|
disconnect.ratelimit.kickLocked.tryAgain=please try again in an hour
|
||||||
|
|
||||||
options.off=OFF
|
options.off=OFF
|
||||||
options.on=ON
|
options.on=ON
|
||||||
options.visible=Shown
|
options.visible=Shown
|
||||||
|
|
|
@ -253,7 +253,7 @@ public class WorldInfo
|
||||||
par1NBTTagCompound.setLong("Time", this.totalTime);
|
par1NBTTagCompound.setLong("Time", this.totalTime);
|
||||||
par1NBTTagCompound.setLong("DayTime", this.worldTime);
|
par1NBTTagCompound.setLong("DayTime", this.worldTime);
|
||||||
par1NBTTagCompound.setLong("SizeOnDisk", this.sizeOnDisk);
|
par1NBTTagCompound.setLong("SizeOnDisk", this.sizeOnDisk);
|
||||||
par1NBTTagCompound.setLong("LastPlayed", SysUtil.steadyTimeMillis());
|
par1NBTTagCompound.setLong("LastPlayed", System.currentTimeMillis());
|
||||||
par1NBTTagCompound.setString("LevelName", this.levelName);
|
par1NBTTagCompound.setString("LevelName", this.levelName);
|
||||||
par1NBTTagCompound.setInteger("version", this.saveVersion);
|
par1NBTTagCompound.setInteger("version", this.saveVersion);
|
||||||
par1NBTTagCompound.setInteger("rainTime", this.rainTime);
|
par1NBTTagCompound.setInteger("rainTime", this.rainTime);
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
package net.minecraft.src;
|
package net.minecraft.src;
|
||||||
|
|
||||||
import net.lax1dude.eaglercraft.EaglerAdapter;
|
|
||||||
import net.minecraft.server.MinecraftServer;
|
|
||||||
|
|
||||||
public class WorldInfo
|
public class WorldInfo
|
||||||
{
|
{
|
||||||
/** Holds the seed of the currently world. */
|
/** Holds the seed of the currently world. */
|
||||||
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue