mirror of
https://git.zelz.net/catfoolyou/Project164.git
synced 2025-12-15 22:47:41 +00:00
Some websocket code
This commit is contained in:
@@ -33,7 +33,6 @@ import net.minecraft.src.ISaveHandler;
|
||||
import net.minecraft.src.IUpdatePlayerListBox;
|
||||
import net.minecraft.src.MathHelper;
|
||||
import net.minecraft.src.MinecraftException;
|
||||
import net.minecraft.src.NetworkListenThread;
|
||||
import net.minecraft.src.Packet;
|
||||
import net.minecraft.src.Packet4UpdateTime;
|
||||
import net.minecraft.src.PlayerUsageSnooper;
|
||||
@@ -383,11 +382,6 @@ public abstract class MinecraftServer implements ICommandSender, Runnable, IPlay
|
||||
{
|
||||
this.getLogAgent().logInfo("Stopping server");
|
||||
|
||||
if (this.getNetworkThread() != null)
|
||||
{
|
||||
this.getNetworkThread().stopListening();
|
||||
}
|
||||
|
||||
if (this.serverConfigManager != null)
|
||||
{
|
||||
this.getLogAgent().logInfo("Saving players");
|
||||
@@ -663,7 +657,6 @@ public abstract class MinecraftServer implements ICommandSender, Runnable, IPlay
|
||||
}
|
||||
|
||||
this.theProfiler.endStartSection("connection");
|
||||
this.getNetworkThread().networkTick();
|
||||
this.theProfiler.endStartSection("players");
|
||||
this.serverConfigManager.sendPlayerInfoToAllPlayers();
|
||||
this.theProfiler.endStartSection("tickables");
|
||||
@@ -1253,7 +1246,6 @@ public abstract class MinecraftServer implements ICommandSender, Runnable, IPlay
|
||||
}
|
||||
}
|
||||
|
||||
public abstract NetworkListenThread getNetworkThread();
|
||||
|
||||
public boolean serverIsInRunLoop()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user