aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSychic <47618543+Sychic@users.noreply.github.com>2021-09-07 23:48:11 -0400
committerSychic <47618543+Sychic@users.noreply.github.com>2021-09-07 23:48:11 -0400
commitc549fea59b0c0457da7ba0e050b5eb6bd0835468 (patch)
tree1fd3e6e6a01dab01766c9ea45fd3c546136ff0a1
parentc4258cc8b7d33614eef5f9b488c97eed8b357fb3 (diff)
downloadSkytilsMod-c549fea59b0c0457da7ba0e050b5eb6bd0835468.tar.gz
SkytilsMod-c549fea59b0c0457da7ba0e050b5eb6bd0835468.tar.bz2
SkytilsMod-c549fea59b0c0457da7ba0e050b5eb6bd0835468.zip
1.0.7-pre1.1
-rw-r--r--build.gradle.kts2
-rw-r--r--src/main/java/skytils/skytilsmod/mixins/transformers/dsm/MixinColoredNames.java38
-rw-r--r--src/main/kotlin/skytils/skytilsmod/Skytils.kt2
-rw-r--r--src/main/resources/mixins.skytils.json1
4 files changed, 2 insertions, 41 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index 2a75d6b3..607a449c 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -29,7 +29,7 @@ plugins {
java
}
-version = "1.0.7-pre1"
+version = "1.0.7-pre1.1"
group = "skytils.skytilsmod"
minecraft {
diff --git a/src/main/java/skytils/skytilsmod/mixins/transformers/dsm/MixinColoredNames.java b/src/main/java/skytils/skytilsmod/mixins/transformers/dsm/MixinColoredNames.java
deleted file mode 100644
index 0284519d..00000000
--- a/src/main/java/skytils/skytilsmod/mixins/transformers/dsm/MixinColoredNames.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Skytils - Hypixel Skyblock Quality of Life Mod
- * Copyright (C) 2021 Skytils
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <https://www.gnu.org/licenses/>.
- */
-
-package skytils.skytilsmod.mixins.transformers.dsm;
-
-import net.minecraft.entity.Entity;
-import org.spongepowered.asm.mixin.Dynamic;
-import org.spongepowered.asm.mixin.Mixin;
-import org.spongepowered.asm.mixin.Pseudo;
-import org.spongepowered.asm.mixin.injection.At;
-import org.spongepowered.asm.mixin.injection.Redirect;
-import skytils.skytilsmod.utils.StringUtilsKt;
-
-@Pseudo
-@Mixin(targets = "me.Danker.features.ColouredNames", remap = false)
-public class MixinColoredNames {
- @Dynamic
- @Redirect(method = "onRenderLiving", at = @At(value = "INVOKE", target = "Lnet/minecraft/entity/Entity;hasCustomName()Z"))
- private boolean replaceColoredNameCheck(Entity entity) {
- String customName = entity.getCustomNameTag();
- return customName.length() > 0 && !customName.endsWith("§c❤") && !StringUtilsKt.stripControlCodes(customName).endsWith(" Hits");
- }
-}
diff --git a/src/main/kotlin/skytils/skytilsmod/Skytils.kt b/src/main/kotlin/skytils/skytilsmod/Skytils.kt
index eee25328..7baadab9 100644
--- a/src/main/kotlin/skytils/skytilsmod/Skytils.kt
+++ b/src/main/kotlin/skytils/skytilsmod/Skytils.kt
@@ -96,7 +96,7 @@ class Skytils {
companion object {
const val MODID = "skytils"
const val MOD_NAME = "Skytils"
- const val VERSION = "1.0.7-pre1"
+ const val VERSION = "1.0.7-pre1.1"
@JvmField
val gson: Gson = GsonBuilder().setPrettyPrinting().create()
diff --git a/src/main/resources/mixins.skytils.json b/src/main/resources/mixins.skytils.json
index 191c4689..9071d46f 100644
--- a/src/main/resources/mixins.skytils.json
+++ b/src/main/resources/mixins.skytils.json
@@ -18,7 +18,6 @@
"accessors.AccessorWorldInfo",
"audio.MixinSoundManager",
"crash.MixinCrashReport",
- "dsm.MixinColoredNames",
"entity.MixinAbstractClientPlayer",
"entity.MixinBossStatus",
"entity.MixinEntityBlaze",