diff --git a/pom.xml b/pom.xml
index ef9f78f..26d3802 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,7 +7,7 @@
com.nevakanezah
HorseEnhancer
jar
- 2.1.1
+ 2.1.2
UTF-8
diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml
index b13b7d6..25400b7 100644
--- a/src/main/resources/plugin.yml
+++ b/src/main/resources/plugin.yml
@@ -1,5 +1,5 @@
name: 'HorseEnhancer'
-version: '2.1.1'
+version: '2.1.2'
api-version: '1.18'
main: 'com.nevakanezah.horseenhancer.HorseEnhancerMain'
authors:
diff --git a/src/test/java/com/nevakanezah/horseenhancer/listener/HorseInspectionTest.kt b/src/test/java/com/nevakanezah/horseenhancer/listener/HorseInspectionTest.kt
index f4b65e6..399edb7 100644
--- a/src/test/java/com/nevakanezah/horseenhancer/listener/HorseInspectionTest.kt
+++ b/src/test/java/com/nevakanezah/horseenhancer/listener/HorseInspectionTest.kt
@@ -9,6 +9,7 @@ import com.nevakanezah.horseenhancer.HorseEnhancerMain
import com.nevakanezah.horseenhancer.database.SQLiteDatabase
import com.nevakanezah.horseenhancer.test.mccoroutine.impl.TestMCCoroutineImpl
import com.nevakanezah.horseenhancer.util.HorseUtil
+import kotlinx.coroutines.delay
import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.flow.map
import kotlinx.coroutines.runBlocking
@@ -71,6 +72,8 @@ internal object HorseInspectionTest {
horse.remove()
database.getHorsesEntity().map { it.second }.collect { it.remove() }
database.removeInvalidHorses()
+ // Added due to possible race condition from clearing Horse table in database
+ delay(10)
}
@Test