src/main/java/codes/biscuit/skyblockaddons/listeners/PlayerListener.java
/**
     * Keep track of recently loaded chunks for the magma boss timer.
     */
Keep track of recently loaded chunks for the magma boss timer.
Keep track of recently loaded chunks for the magma boss timer .
@SubscribeEvent()
    public void onChunkLoad(ChunkEvent.Load e) {
        if (main.getUtils().isOnSkyblock()) {
            int x = e.getChunk().xPosition;
            int z = e.getChunk().zPosition;
            CoordsPair coords = new CoordsPair(x, z);
            recentlyLoadedChunks.add(coords);
            main.getScheduler().schedule(Scheduler.CommandType.DELETE_RECENT_CHUNK, 20, x, z);
        }
    }
@ SubscribeEvent ( ) public void onChunkLoad ( ChunkEvent . Load e ) { if ( main . getUtils ( ) . isOnSkyblock ( ) ) { int x = e . getChunk ( ) . xPosition ; int z = e . getChunk ( ) . zPosition ; CoordsPair coords = new CoordsPair ( x , z ) ; recentlyLoadedChunks . add ( coords ) ; main . getScheduler ( ) . schedule ( Scheduler . CommandType . DELETE_RECENT_CHUNK , 20 , x , z ) ; } }
Keep track of recently loaded chunks for the magma boss timer.
Keep track of recently loaded chunks for the magma boss timer .