Commit Graph

182 Commits

Author SHA1 Message Date
Shane Freeder 5b8a29a0cc Ensure disconnect for book edit is called on main 2021-06-22 20:00:11 +01:00
Jake Potrebic ce3e8e8708 remove calling expensive method (#5955) 2021-06-22 11:52:45 -07:00
Shane Freeder 4ad15af215 Fix kick event being fired off main thread 2021-06-22 19:35:35 +01:00
Nassim Jahnke b7605a2231 Fix player collision patch cleanup (#5947) 2021-06-22 15:58:20 +02:00
Shane Freeder 1599ffc11d Try even harder to get an origin world and avoid NPEs (Fixes #5931) 2021-06-22 11:54:49 +01:00
Owen1212055 4a7d7decce Add more fox API (#5743) 2021-06-22 03:44:02 -04:00
Jason Penilla ed04368157 Expand where stacktraces can be deobfuscated (#5944)
Also load the mappings from the correct location
2021-06-21 21:12:07 -07:00
BillyGalbreath 83bbb318a6 [ci skip] Very important bug fix :O (#5934) 2021-06-21 09:36:53 -05:00
Shane Freeder 58c3edcb08 Try to prevent an NPE from origin data (Fixes #5905) 2021-06-21 10:04:18 +01:00
Shane Freeder 1763250105 Fix early load perms patch (Fixes #5917) 2021-06-21 09:41:00 +01:00
Jason Penilla 5f20f9bf95 Deobfuscate stacktraces in log messages using a RewriteAppender and a custom RewritePolicy (#5926)
Also replace a couple calls to `System.err` with logger usages, as traces printed with the former do not get deobfuscated.
2021-06-21 01:09:18 -07:00
Jason Penilla 6922070800 Fix PlayerDropItemEvent using wrong item (#5924)
Co-authored-by: Spottedleaf <spottedleaf@users.noreply.github.com>
2021-06-20 22:12:04 -07:00
lexikiq c10499bc4d Fix "Don't ignore result of PlayerEditBookEvent" (#5923) 2021-06-21 00:29:59 -04: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
Shane Freeder e6193a1630 Add invalid player data to misc debug dumps 2021-06-20 15:06:37 +01:00
Spottedleaf 4bfd5dbc06 Fix Codec log spam
Mojang did NOT add dataconverters for world gen configurations
that they CHANGED. So, the codec fails to parse old data.

This fixes two instances:
- IntProvider is new and Mojang did not account for old data.
  Thankfully, only ColumnPlace needed to be special cased.
- TreeConfiguration had changes. Thankfully, they were
  only renames for one value and thankfully defaults could
  be provided for two new values (WITHOUT changing behavior).
2021-06-20 12:58:35 +01:00
Jason Penilla c0ee8ae35e Rename package from io.papermc.paper.world.gen to io.papermc.paper.world.generation (#5894) 2021-06-19 22:02:27 -07:00
dfsek cba64693c4 Worldgen Feature API (#5727) 2021-06-19 21:48:30 -07:00
Riley Park 892f1ec052 Fix GS4 querying 2021-06-19 18:27:04 -07:00
Nassim Jahnke eac2ccfb3a Fix startup delay and warning caused by oshi 2021-06-19 09:57:56 +02:00
Nassim Jahnke 601c40df88 Updated Upstream (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

CraftBukkit Changes:
68d40318 SPIGOT-6580: Cancelling SlimeSplitEvent Causes Infinite Loop
78d93f77 SPIGOT-6576: BlockExpEvent does not show XP when breaking a furnace
2021-06-19 09:06:28 +02:00
Jake Potrebic 91e39ea5ac add back optimizing ServerLevel chunk checking methods 2021-06-17 22:51:04 -07:00
Jason Penilla 7606788417 Save BlockEntities on main for async chunk saves
Closes #5854
2021-06-18 21:38:44 -07:00
Jason Penilla 166760a713 Remove chat event APIs marked as deprecated for removal with 1.17 2021-06-18 15:47:40 -07:00
Kyle Wood c34b6734a2 Move package version to server project 2021-06-18 00:25:16 -05:00
Riley Park c867b69e41 Thanks for joining us for the magic show tonight 2021-06-17 20:38:22 -07:00
djytw 5e9ba09e6d Fix #5856 Entity origin (#5861) 2021-06-18 03:37:23 +00:00
Riley Park 1942e47836 Don't include log4j 2021-06-17 18:42:17 -07:00
Jake Potrebic 570006ab1e remove more obfhelpers 2021-06-17 14:39:36 -07:00
MiniDigger | Martin 6c9cd70194 fix build 2021-06-17 22:25:52 +02:00
MiniDigger | Martin 4ac379cbd0 death to more obfhelpers 2021-06-17 22:20:03 +02:00
MiniDigger | Martin 62fabeca0c deprecate all obfhelpers 2021-06-17 21:52:26 +02:00
MiniDigger | Martin a486d2eccf nuke a few more obfhelpers 2021-06-17 21:37:37 +02:00
MiniDigger | Martin 8d5fa8c53b remove system property for book size limits
"It was from a different time before books were as jank as they are now. As time has gone on they've only proven to be worse and worse."
2021-06-17 21:12:40 +02:00
MiniDigger | Martin a716afea03 check if sender is a player in paper dumpitem command, closes #5858 2021-06-17 20:13:55 +02:00
Jake Potrebic 6d848fc4bf remove remaining POMs 2021-06-17 10:11:00 -07:00
Nassim Jahnke 36b107516b Updated Upstream (Bukkit/CraftBukkit/Spigot)
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:
2dbec584 SPIGOT-6570: Missing InventoryType: COMPOSTER
e9ce88b9 SPIGOT-6562: Add more specific sculk sensor event

CraftBukkit Changes:
9122f5a6 #869: Fix BossBar setColor and setStyle updates
96a15d7a Incrase outdated build delay
ded19075 SPIGOT-6570: Missing InventoryType: COMPOSTER
d7ef1e91 SPIGOT-6558: Attempt to improve SkullMeta
e7a63287 SPIGOT-6562: Add more specific sculk sensor event

Spigot Changes:
101ebb63 SPIGOT-6573: Berry Bushes deal damage when not moving
2021-06-17 14:50:16 +02:00
Jason Penilla 1ffd69b7cc Update incremental chunk saving 2021-06-17 01:37:27 -07:00
Jason Penilla 5eb7d40379 Update Entity load/save limit per chunk 2021-06-16 21:00:32 -07:00
Kyle Wood 3dc0a3fafc Relocate other libraries Spigot added and relocates in 1.17 2021-06-16 20:56:44 -05:00
Kyle Wood c7a0195cdd Add a note about deleting pom.xml in first patch 2021-06-16 20:46:15 -05:00
Kyle Wood b2cab70594 Minor patch cleanup 2021-06-16 20:43:30 -05:00
Jason Penilla 48c1ea17c3 Fix artifact ids 2021-06-16 16:23:02 -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
Nassim Jahnke 15c337032b Enable chunk load for feature search by default 2021-06-16 22:42:48 +02:00
Jake Potrebic 06d10601a7 fixes issue with chunk saving
fixes #5854
2021-06-16 13:34:49 -07:00
Nassim Jahnke 79da41d557 Fix entity death sounds 2021-06-16 22:17:53 +02:00
Jake Potrebic f2f6f697bc remove optimise random tick patch for now 2021-06-16 13:12:05 -07:00
Nassim Jahnke a483019516 Port improve chunk status transition speed 2021-06-16 15:47:07 +02:00