diff --git a/src/main/kotlin/net/trivernis/chunkmaster/ChunkmasterEvents.kt b/src/main/kotlin/net/trivernis/chunkmaster/ChunkmasterEvents.kt index 2ec66fb..4c28eb3 100644 --- a/src/main/kotlin/net/trivernis/chunkmaster/ChunkmasterEvents.kt +++ b/src/main/kotlin/net/trivernis/chunkmaster/ChunkmasterEvents.kt @@ -41,8 +41,10 @@ class ChunkmasterEvents(private val chunkmaster: Chunkmaster, private val server if (chunkmaster.generationManager.tasks.isNotEmpty()) { chunkmaster.logger.info(chunkmaster.langManager.getLocalized("PAUSE_PLAYER_JOIN")) } - playerPaused = chunkmaster.generationManager.paused - chunkmaster.generationManager.pauseAll() + if (!chunkmaster.generationManager.paused) { + playerPaused = chunkmaster.generationManager.paused + chunkmaster.generationManager.pauseAll() + } } } } \ No newline at end of file