From 9f4c27b4987353beaaaec5e01e462ac502e95c25 Mon Sep 17 00:00:00 2001 From: Seosean Date: Fri, 19 Apr 2024 14:19:40 +0800 Subject: [PATCH] 2.0.8 --- build.gradle | 2 +- src/main/java/com/seosean/showspawntime/ShowSpawnTime.java | 2 +- .../seosean/showspawntime/mixins/MixinNetHandlerPlayClient.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 591e5b3..323c1fb 100644 --- a/build.gradle +++ b/build.gradle @@ -29,7 +29,7 @@ plugins { id "net.minecraftforge.gradle.forge" version "2.0.2" } */ -version = "2.0.7" +version = "2.0.8" group= "com.seosean.showspawntime" // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = "ShowSpawnTime" diff --git a/src/main/java/com/seosean/showspawntime/ShowSpawnTime.java b/src/main/java/com/seosean/showspawntime/ShowSpawnTime.java index 03df649..7faf23c 100644 --- a/src/main/java/com/seosean/showspawntime/ShowSpawnTime.java +++ b/src/main/java/com/seosean/showspawntime/ShowSpawnTime.java @@ -48,7 +48,7 @@ public class ShowSpawnTime { public static final String MODID = "showspawntime"; - public static final String VERSION = "2.0.7"; + public static final String VERSION = "2.0.8"; public static final String EMOJI_REGEX = "(?:[\uD83C\uDF00-\uD83D\uDDFF]|[\uD83E\uDD00-\uD83E\uDDFF]|[\uD83D\uDE00-\uD83D\uDE4F]|[\uD83D\uDE80-\uD83D\uDEFF]|[\u2600-\u26FF]\uFE0F?|[\u2700-\u27BF]\uFE0F?|\u24C2\uFE0F?|[\uD83C\uDDE6-\uD83C\uDDFF]{1,2}|[\uD83C\uDD70\uD83C\uDD71\uD83C\uDD7E\uD83C\uDD7F\uD83C\uDD8E\uD83C\uDD91-\uD83C\uDD9A]\uFE0F?|[\u0023\u002A\u0030-\u0039]\uFE0F?\u20E3|[\u2194-\u2199\u21A9-\u21AA]\uFE0F?|[\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55]\uFE0F?|[\u2934\u2935]\uFE0F?|[\u3030\u303D]\uFE0F?|[\u3297\u3299]\uFE0F?|[\uD83C\uDE01\uD83C\uDE02\uD83C\uDE1A\uD83C\uDE2F\uD83C\uDE32-\uD83C\uDE3A\uD83C\uDE50\uD83C\uDE51]\uFE0F?|[\u203C\u2049]\uFE0F?|[\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE]\uFE0F?|[\u00A9\u00AE]\uFE0F?|[\u2122\u2139]\uFE0F?|\uD83C\uDC04\uFE0F?|\uD83C\uDCCF\uFE0F?|[\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA]\uFE0F?)"; public static final String COLOR_REGEX = "ยง[a-zA-Z0-9]"; public static boolean isAutoSplitsLoaded; diff --git a/src/main/java/com/seosean/showspawntime/mixins/MixinNetHandlerPlayClient.java b/src/main/java/com/seosean/showspawntime/mixins/MixinNetHandlerPlayClient.java index ff53c0a..0d6538e 100644 --- a/src/main/java/com/seosean/showspawntime/mixins/MixinNetHandlerPlayClient.java +++ b/src/main/java/com/seosean/showspawntime/mixins/MixinNetHandlerPlayClient.java @@ -32,7 +32,7 @@ public void handleEntityMetadata(S1CPacketEntityMetadata packetIn, CallbackInfo if (list.isEmpty()) { return; } - + if (Minecraft.getMinecraft() != null) { if (Minecraft.getMinecraft().theWorld != null) { Entity entity = Minecraft.getMinecraft().theWorld.getEntityByID(packetIn.getEntityId());