summaryrefslogtreecommitdiffstats
path: root/nms-patches
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-07-28 10:38:36 +1000
committermd_5 <git@md-5.net>2018-07-28 10:38:36 +1000
commite3c21decb0bff39ec2e4bb3c95a6554ea3755609 (patch)
tree4a70528b636032473764b9a318d34596c56d3962 /nms-patches
parent392108bf94d4377f3a6b517a7f549ca41872c34e (diff)
downloadcraftbukkit-e3c21decb0bff39ec2e4bb3c95a6554ea3755609.tar
craftbukkit-e3c21decb0bff39ec2e4bb3c95a6554ea3755609.tar.gz
craftbukkit-e3c21decb0bff39ec2e4bb3c95a6554ea3755609.tar.lz
craftbukkit-e3c21decb0bff39ec2e4bb3c95a6554ea3755609.tar.xz
craftbukkit-e3c21decb0bff39ec2e4bb3c95a6554ea3755609.zip
SPIGOT-4171: Advancement description not showing
Diffstat (limited to 'nms-patches')
-rw-r--r--nms-patches/Advancement.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/nms-patches/Advancement.patch b/nms-patches/Advancement.patch
index 348a5175..60be8f15 100644
--- a/nms-patches/Advancement.patch
+++ b/nms-patches/Advancement.patch
@@ -8,6 +8,15 @@
public Advancement(MinecraftKey minecraftkey, @Nullable Advancement advancement, @Nullable AdvancementDisplay advancementdisplay, AdvancementRewards advancementrewards, Map<String, Criterion> map, String[][] astring) {
this.d = minecraftkey;
+@@ -46,7 +47,7 @@
+ EnumChatFormat enumchatformat = advancementdisplay.e().c();
+ IChatBaseComponent ichatbasecomponent1 = ichatbasecomponent.e().a(enumchatformat).a("\n").addSibling(advancementdisplay.b());
+ IChatBaseComponent ichatbasecomponent2 = ichatbasecomponent.e().a((chatmodifier) -> {
+- chatmodifier.setChatHoverable(new ChatHoverable(ChatHoverable.EnumHoverAction.SHOW_TEXT, ichatbasecomponent));
++ chatmodifier.setChatHoverable(new ChatHoverable(ChatHoverable.EnumHoverAction.SHOW_TEXT, ichatbasecomponent1)); // CraftBukkit - decompile error
+ });
+
+ this.h = (new ChatComponentText("[")).addSibling(ichatbasecomponent2).a("]").a(enumchatformat);
@@ -206,7 +207,7 @@
}