fix AltControl fast start

This commit is contained in:
Daniella / Tove 2024-05-31 20:25:16 +02:00
parent a7ea1934a3
commit 1775e4e00a
Signed by: TudbuT
GPG key ID: B3CF345217F202D3

View file

@ -55,6 +55,7 @@ public class FMLEventHandler {
EntityPlayerSP playerLastTick = null;
@SubscribeEvent
public void tick(TickEvent.ClientTickEvent event) {
BaseBand.remoteEventManager.onTick();
if(mc.world == null || mc.player == null) {
if(playerLastTick != null) {
BaseBand.publish(new PlayerDestroyEvent(playerLastTick));
@ -66,7 +67,6 @@ public class FMLEventHandler {
return;
playerLastTick = mc.player;
BaseBand.updateKeyBinds();
BaseBand.remoteEventManager.onTick();
for(Feature feature : features) {
feature.onEveryTick();
if(feature.enabled) {