portal suffocation and antiCheat disabled.

This commit is contained in:
gnembon committed 2019-07-07 18:52:56 -03:00
1 parent 76334f9a68
commit 800b26bf18
10 files changed
+239 -48

No files matched your search

+4 -5
View File
@@ -48,11 +48,6 @@ public class CarpetServer // static for now - easier to handle all around the co
extensions.forEach(CarpetExtension::onGameStarted);
}
public static void init(MinecraftServer server) //aka constructor of this static singleton class
{
// no sure we really need this here, needs testing and moving to onServerLoaded
//CarpetServer.minecraft_server = server;
}
public static void onServerLoaded(MinecraftServer server)
{
CarpetServer.minecraft_server = server;
@@ -70,8 +65,12 @@ public class CarpetServer // static for now - easier to handle all around the co
TickSpeed.tick(server);
HUDController.update_hud(server);
scriptServer.events.tick();
//in case something happens
CarpetSettings.impendingFillSkipUpdates = false;
CarpetSettings.currentTelepotingEntityBox = null;
CarpetSettings.fixedPosition = null;
extensions.forEach(e -> e.onTick(server));
}