From c469d91f83b0047dc82c5eba58a548b8a07b14fe Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Thu, 23 Apr 2020 21:20:33 +1200 Subject: [PATCH] Correct update messages, pending release build work --- .../packetlisteners/PacketListenerViewSelfDisguise.java | 2 +- .../disguise/utilities/translations/LibsMsg.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/me/libraryaddict/disguise/utilities/packets/packetlisteners/PacketListenerViewSelfDisguise.java b/src/main/java/me/libraryaddict/disguise/utilities/packets/packetlisteners/PacketListenerViewSelfDisguise.java index ece01345..ab85777c 100644 --- a/src/main/java/me/libraryaddict/disguise/utilities/packets/packetlisteners/PacketListenerViewSelfDisguise.java +++ b/src/main/java/me/libraryaddict/disguise/utilities/packets/packetlisteners/PacketListenerViewSelfDisguise.java @@ -120,7 +120,7 @@ public class PacketListenerViewSelfDisguise extends PacketAdapter { if (watch.getIndex() == 0) { byte b = (byte) watch.getValue(); - // Add invisibility, remove glowing, remove sprinting + // Add invisibility, remove glowing byte a = (byte) ((b | 1 << 5) & ~(1 << 6)); watch.setValue(a); diff --git a/src/main/java/me/libraryaddict/disguise/utilities/translations/LibsMsg.java b/src/main/java/me/libraryaddict/disguise/utilities/translations/LibsMsg.java index 761f9585..199a9c3a 100644 --- a/src/main/java/me/libraryaddict/disguise/utilities/translations/LibsMsg.java +++ b/src/main/java/me/libraryaddict/disguise/utilities/translations/LibsMsg.java @@ -195,11 +195,11 @@ public enum LibsMsg { UNDISRADIUS(ChatColor.RED + "Successfully undisguised %s entities!"), UPDATE_READY(ChatColor.RED + "[LibsDisguises] " + ChatColor.DARK_RED + "There is a update ready to be downloaded! You are using " + ChatColor.RED + "v%s" + ChatColor.DARK_RED + - ", the new version is " + ChatColor.RED + "v%s" + ChatColor.DARK_RED + "!"), + ", the new version is " + ChatColor.RED + "v%s" + ChatColor.DARK_RED + "! Use /libsdisguises update to automatically update!"), UPDATE_READY_SNAPSHOT(ChatColor.RED + "[LibsDisguises] " + ChatColor.DARK_RED + "There is a new build of Lib's Disguises! You are using " + ChatColor.RED + "#%s" + ChatColor.DARK_RED + ", the latest build is " + ChatColor.RED + "#%s" + ChatColor.DARK_RED + "!" + ChatColor.RED + - "\nhttps://ci.md-5.net/job/LibsDisguises/lastSuccessfulBuild/"), + "\nhttps://ci.md-5.net/job/LibsDisguises/lastSuccessfulBuild/ or use /libsdisguises update"), VIEW_SELF_ON(ChatColor.GREEN + "Toggled viewing own disguise on!"), VIEW_SELF_OFF(ChatColor.GREEN + "Toggled viewing own disguise off!"), CLICK_TO_COPY(ChatColor.GREEN + "Click to Copy:"),