[F] Fix calling onTick when not in game
This commit is contained in:
@@ -81,6 +81,7 @@ public class SeedServerCache extends Behavior
|
|||||||
@Override
|
@Override
|
||||||
public void onTick(TickEvent event)
|
public void onTick(TickEvent event)
|
||||||
{
|
{
|
||||||
|
if (mc.player == null) return;
|
||||||
if (updating) return;
|
if (updating) return;
|
||||||
|
|
||||||
// If not enabled, preload the chunks
|
// If not enabled, preload the chunks
|
||||||
|
|||||||
Reference in New Issue
Block a user