Commit graph

226 commits

Author SHA1 Message Date
Jason Penilla
cad0a49123 Fix incorrect variable usage in per-player mob spawning patch (#6077) 2021-07-04 09:30:59 -07:00
Jason Penilla
08033a4fc0 Also deobfuscate secondary stacktraces in crash reports (#6078) 2021-07-04 03:20:11 -07:00
Jason Penilla
1d6b275814 Fix Bossbar updating (closes #6061) (#6076) 2021-07-03 16:26:13 -07:00
Jake Potrebic
42714f234c fix custom beacon ranges (#6067) 2021-07-02 12:51:49 -07:00
PaulBGD
88029f0e8a Readd "Use getChunkIfLoadedImmediately in places" (#6047)
* Readd "Use getChunkIfLoadedImmediately in places"

* Formatting

* Fix var names
2021-07-02 14:04:29 -05:00
BillyGalbreath
42293b52e2 Honor spigot.yml setting log-villager-deaths (#6057)
cat note: giggity.
2021-07-01 22:28:31 -05:00
Shane Freeder
2143a948be Fix NPE when completing skull lookups without a real owner (Fixes #6052)
This looks like mojang introduced an NPE however it was previously being
supressed by the future used by the server, we'll just stick to the legacy
behavior of retainining the existing profile of earlier versions
2021-07-01 00:10:28 +01:00
Shane Freeder
0641643c4a Backport MC-229191 ore distribution changes 2021-06-30 22:11:40 +01:00
Shane Freeder
5a5d27f6a1 Fix NPE when using broadcast as players are joining 2021-06-29 22:21:42 +01:00
Shane Freeder
0e2c1c7288 [ci skip] patch-ception 2021-06-29 17:39:17 +01:00
Shane Freeder
73d13c8c88 Don't complete skull lookups on main thread (MC-227435) 2021-06-29 17:34:20 +01:00
Jason Penilla
d0c06257f1 [ci-skip] Fix description of add-plugin command line option (#6031) 2021-06-29 02:09:02 -07:00
stonar96
c7e9c0260f Optimize Anti-Xray (#5991) 2021-06-29 11:01:47 +02:00
Jason Penilla
85ba428029 Fix return value of Block#applyBoneMeal always being false (#6030) 2021-06-28 18:37:44 -07:00
Shane Freeder
f3e872c626 Fix players not being added to collide rule (Fixes #6024) 2021-06-28 22:16:46 +01:00
Kezz
1029e65bb2 Implement Sound.Source.Provider (#5935) 2021-06-28 14:07:19 +01:00
Jake Potrebic
cecb38e6ed Improve horrible CraftChunk#getEntities performance (#5999)
Thanks Spigot, very cool.
2021-06-28 05:53:28 -07:00
Kyle Wood
4c515198bb Trim whitspace off of git hash (oops) 2021-06-26 23:51:03 -05:00
Kyle Wood
16030c824f Update task dependency for includeMappings so the new task isn't skipped
The new task fixJarForReobf was added after shadowJar, but since
reobfJar's input is changed in this patch, that new task needs to be
referenced instead of shadowJar.
2021-06-26 22:26:17 -05:00
Kyle Wood
0b0461e997 Remove now unneeded patch due to paperweight 1.1.7 2021-06-26 22:22:05 -05:00
Kyle Wood
99bb2c025c Get short commit ref using a more proper method 2021-06-26 22:15:13 -05:00
Shane Freeder
65c6d7f38f Drop codec spam fix (Fixes #5936)
having spoken to mojang about this the general issue is data which shouldn't
have been saved in the first place, so if we lose this data it's not really
an issue, bar being annoying spammy. if the spam gets on your nerves, shamefully,
all you can really do is forceUpgrade to get the conversions of the way.

Dropping as this breaks other aspects of the server and bar being spammy
seems to have no other real negative outcomes
2021-06-26 12:56:06 +01:00
Nassim Jahnke
f800d80c45 Fix chicken jockey chicken persistence (#6005) 2021-06-26 10:54:24 +02:00
Jake Potrebic
28e57942d7 Fix use of universe flag and forceUpgrade 2021-06-25 18:56:12 -07:00
Jason Penilla
254ac170de Do not cancel chunk load on ticket level change (#5978)
New chunk system doesn't do cancellations anymore.

Co-authored-by: Spottedleaf <spottedleaf@users.noreply.github.com>
2021-06-24 02:12:47 -07:00
Shane Freeder
65a6e249ea Allow explosions under 0 height (Fixes #5974)
Upstream forgot to update the check here which prevents explosions
occuring under 0 height, however, vanilla already checks that we
are in bounds of the world above this, so this call is entirely
redundant.
2021-06-24 01:44:23 +01:00
Prof-Bloodstone
5126271b6c Make gradle take build number from env vars and add git build info (#5890)
* Make gradle take build number from env vars

* Add git information to manifest and version command/log

* trim

* Fix tests by adding NotNull annotations

* rebase

* Apply suggestions from kashike

Co-authored-by: Riley Park <rileysebastianpark@gmail.com>

* Not always show branch

* Why can't everything be NotNull by default?

* Rebase

Co-authored-by: Riley Park <rileysebastianpark@gmail.com>
2021-06-23 19:19:44 +02:00
stonar96
c00618d009 Refactor Anti-Xray and make some fixes to it (#5938) 2021-06-23 10:39:02 +02:00
Jake Potrebic
2c17a86e82 Fix mobs not burning from summon command (#5961) 2021-06-23 01:07:59 -07:00
Jake Potrebic
7c2140bc63 Fix NPE when setting cook multiplier (#5956) 2021-06-22 12:26:03 -07:00
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
Riley Park
8510a478dd Better checking for method return TYPE_USE annotations 2021-06-21 10:08:30 -07:00
Riley Park
b7b70f682f Allow use of TYPE_USE annotations 2021-06-21 09:55:17 -07:00
BillyGalbreath
83bbb318a6 [ci skip] Very important bug fix :O (#5934) 2021-06-21 09:36:53 -05:00
BillyGalbreath
5166ece434 Permission message upgrades (#5932)
* Permission message upgrades

* Allow for blank lines after split

* the future is now :o
2021-06-21 09:07:21 -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
Pedro Arenas
f1cf984988 Fix EntityEquipment::setDropChance Javadoc (#5925) 2021-06-21 01:42:42 -04: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
Underscore11
fbc750341f fix: Blank ('') no-permission messages shouldn't send blank lines (#5892) 2021-06-20 18:50:36 -07: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