summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--gradle.properties2
-rw-r--r--src/main/kotlin/space/autistic/radio/entity/DisposableTransmitterEntity.kt2
2 files changed, 2 insertions, 2 deletions
diff --git a/gradle.properties b/gradle.properties
index 80f62eb..f5cb689 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -10,7 +10,7 @@ loader_version=0.16.10
 fabric_kotlin_version=1.13.1+kotlin.2.1.10
 
 # Mod Properties
-mod_version=1.0.5+bc25
+mod_version=1.0.6+bc25
 maven_group=space.autistic.radio
 archives_base_name=pirate-radio
 
diff --git a/src/main/kotlin/space/autistic/radio/entity/DisposableTransmitterEntity.kt b/src/main/kotlin/space/autistic/radio/entity/DisposableTransmitterEntity.kt
index fe26a86..b50849d 100644
--- a/src/main/kotlin/space/autistic/radio/entity/DisposableTransmitterEntity.kt
+++ b/src/main/kotlin/space/autistic/radio/entity/DisposableTransmitterEntity.kt
@@ -57,7 +57,7 @@ class DisposableTransmitterEntity : AbstractDecorationEntity {
     }
 
     private fun tickDespawnDelay() {
-        if (this.despawnDelay > 0 && this.despawnDelay-- == 0) {
+        if (this.despawnDelay > 0 && --this.despawnDelay == 0) {
             this.discard()
         }
     }