src/main/java/codes/biscuit/skyblockaddons/listeners/PlayerListener.java
/**
     * Reset all the timers and stuff when joining a new world.
     */
Reset all the timers and stuff when joining a new world.
Reset all the timers and stuff when joining a new world .
@SubscribeEvent()
    public void onWorldJoin(EntityJoinWorldEvent e) {
        if (e.entity == Minecraft.getMinecraft().thePlayer) {
            lastWorldJoin = System.currentTimeMillis();
            lastBoss = -1;
            magmaTick = 1;
            timerTick = 1;
            main.getInventoryUtils().resetPreviousInventory();
            recentlyLoadedChunks.clear();
            countedEndermen.clear();
        }
    }
@ SubscribeEvent ( ) public void onWorldJoin ( EntityJoinWorldEvent e ) { if ( e . entity == Minecraft . getMinecraft ( ) . thePlayer ) { lastWorldJoin = System . currentTimeMillis ( ) ; lastBoss = - 1 ; magmaTick = 1 ; timerTick = 1 ; main . getInventoryUtils ( ) . resetPreviousInventory ( ) ; recentlyLoadedChunks . clear ( ) ; countedEndermen . clear ( ) ; } }
Reset all the timers and stuff when joining a new world.
Reset all the timers and stuff when joining a new world .