aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authoringle <inglettronald@gmail.com>2022-09-24 15:06:09 -0500
committeringle <inglettronald@gmail.com>2022-09-24 15:06:09 -0500
commitca61e7812d1153eaefff289815df66be75ba1b80 (patch)
treef33b3f04ce4319b26c15b83b94305a62603f8495 /src/main
parentcce0c0c05e1f73902e474d9a63f6b1f302cd5176 (diff)
downloadDulkirMod-ca61e7812d1153eaefff289815df66be75ba1b80.tar.gz
DulkirMod-ca61e7812d1153eaefff289815df66be75ba1b80.tar.bz2
DulkirMod-ca61e7812d1153eaefff289815df66be75ba1b80.zip
Updated mod version and removed un-needed print statement
Diffstat (limited to 'src/main')
-rw-r--r--src/main/kotlin/dulkirmod/DulkirMod.kt2
-rw-r--r--src/main/kotlin/dulkirmod/features/NametagCleaner.kt1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/main/kotlin/dulkirmod/DulkirMod.kt b/src/main/kotlin/dulkirmod/DulkirMod.kt
index 192a582..4817b20 100644
--- a/src/main/kotlin/dulkirmod/DulkirMod.kt
+++ b/src/main/kotlin/dulkirmod/DulkirMod.kt
@@ -83,7 +83,7 @@ class DulkirMod {
companion object {
const val MOD_ID = "dulkirmod"
const val MOD_NAME = "Dulkir Mod"
- const val MOD_VERSION = "0.0.0"
+ const val MOD_VERSION = "1.0.2"
const val CHAT_PREFIX = "§b§l<§fDulkirMod§b§l>§r"
val mc: Minecraft = Minecraft.getMinecraft()
diff --git a/src/main/kotlin/dulkirmod/features/NametagCleaner.kt b/src/main/kotlin/dulkirmod/features/NametagCleaner.kt
index e1202b9..b1557c9 100644
--- a/src/main/kotlin/dulkirmod/features/NametagCleaner.kt
+++ b/src/main/kotlin/dulkirmod/features/NametagCleaner.kt
@@ -18,7 +18,6 @@ object NametagCleaner {
if (event.entity is EntityArmorStand && event.entity.hasCustomName()) {
if (config.hideTags) {
val name = stripColorCodes(event.entity.customNameTag)
- println(name)
if (name.contains("ABILITY DAMAGE") || name.contains("DEFENSE") || name.contains("DAMAGE")
|| name.contains("Superboom TNT") || name.contains ("Blessing")) {
mc.theWorld.removeEntity(event.entity)