[F] Fix calling onTick when not in game

This commit is contained in:
Hykilpikonna
2020-02-19 20:53:38 -05:00
parent 24a8435c61
commit c268e0523f
@@ -81,6 +81,7 @@ public class SeedServerCache extends Behavior
@Override
public void onTick(TickEvent event)
{
if (mc.player == null) return;
if (updating) return;
// If not enabled, preload the chunks