Commit Graph

19 Commits

Author SHA1 Message Date
Jake Potrebic 037884fc65 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#6379)
Co-authored-by: Jason Penilla <11360596+jpenilla@users.noreply.github.com>
2021-08-13 10:08:34 -07:00
Mariell Hoversholm 7df3240f80 Updated Upstream (Bukkit/CraftBukkit)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
e0598aa2 SPIGOT-6692: Add sendSignChange overload with a hasGlowingText parameter

CraftBukkit Changes:
2cdc6b1e4 SPIGOT-6692: Add sendSignChange overload with a hasGlowingText parameter
2021-08-05 21:53:50 +02:00
Bjarne Koll 68db0c9853 Support complex components in written book builder (#6337)
The previously existing toBuilder method defined on the CraftMetaBook
would, no matter if called on a writable or written book, return a
builder targetting a writable book, in which complex components, such as
hover or click text are not allowed.

The builer hence serializes the page components using LEGACY_UXRC to
ensure only colour may be passed. While this works as intented for
writable books, the builder fails to fully support the complex
components that may be used in a written book.

This commit implemements a child class of the CraftMetaBookBuilder, the
CraftMetaBookSignedBuilder, which builds to a CraftMetaBookSigned
instance and hence serializes the pages to json.
This builder instance is automatically supplied when calling toBuilder
on a CraftMetaBookSigned instance.

Resolves: #6296
2021-08-09 00:57:20 +02:00
Emilia Dreamer e51f909450 Fix incorrect colors in ConsoleCommandSender messages with TranslatableComponents (#6287) 2021-08-03 10:48:34 +03:00
MeFisto94 7dc5d71367 Move "use-display-name-in-quit-message" to settings namespace (#6257) 2021-07-26 01:11:44 +02:00
zml fc90f774bc Fix book title and author being improperly serialized as components (#6190)
They are kept as plain strings
Additional validation has been added to prevent invalid books from being
sent to the client.
2021-07-19 16:11:06 -07:00
Nassim Jahnke 7037cd401f Update to Minecraft 1.17.1 (#6097) 2021-07-07 08:52:40 +02:00
Jason Penilla 1d6b275814 Fix Bossbar updating (closes #6061) (#6076) 2021-07-03 16:26:13 -07:00
Shane Freeder 5a5d27f6a1 Fix NPE when using broadcast as players are joining 2021-06-29 22:21:42 +01:00
Nassim Jahnke 41acf2c279 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#5904)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
70d24eb8 SPIGOT-6587: Update documentation/error of drop chance API

CraftBukkit Changes:
470050ad SPIGOT-6587: Update documentation/error of drop chance API
1c39efa3 Fix Inventory#getViewers on the player inventory not returning the player first time their inventory is opened
d161627d Fix PrepareItemCraftEvent#isRepair
aa1fae73 SPIGOT-6586: EntityChangeBlockEvent for falling block does not cancel properly
8a04072e SPIGOT-6583: Throwing eggs doesn't make sounds

Spigot Changes:
f773da84 Remove redundant patch
cd367234 Rebuild patches
2021-06-20 21:25:59 +02:00
Jason Penilla 166760a713 Remove chat event APIs marked as deprecated for removal with 1.17 2021-06-18 15:47:40 -07:00
MiniDigger | Martin a486d2eccf nuke a few more obfhelpers 2021-06-17 21:37:37 +02:00
Jake Potrebic 6d848fc4bf remove remaining POMs 2021-06-17 10:11:00 -07:00
Jake Potrebic 7de25fd330 update to Adventure 4.8.1 2021-06-16 15:57:49 -07:00
Jake Potrebic 4d67d89033 remove some more obf helpers 2021-06-16 10:48:25 -07:00
Jake Potrebic ca8a47f9e8 added remaining hunks from chat/title packets (#5844) 2021-06-15 16:41:38 -07:00
Jake Potrebic cf306c3a89 more patches 2021-06-11 15:37:16 -07:00
Jake Potrebic 892f7a57ec rebase 2021-06-11 13:42:57 -07:00
Jake Potrebic 469a257947 fix adventure patch 2021-06-11 12:23:46 -07:00