Commit graph

5200 Commits

Autor SHA1 Nachricht Datum
Daniel Ennis
c093c43171
Add exception handlers for getChunkAtAsync convenience methods (#4773) 2020-11-16 09:40:01 -05:00
A248
f842ed1f61 Add exception handlers for getChunkAtAsync convenience methods 2020-11-15 19:31:06 -05:00
Ben Kerllenevich
858a6e3320
[CI-SKIP] Add curl requirement for building paper. (#4768)
* Add curl to contributing.md

* change semicolons and periods

Co-authored-by: Mariell <proximyst@proximyst.com>
2020-11-15 16:42:05 -06:00
Max Lee
2f0e0a6da0
Backport feature search improvement from 1.17 (Fixes #2312) (#4771) 2020-11-14 22:50:11 +00:00
Mariell Hoversholm
b6d9d63436 Add API for quit reason
The following has been tested:
- Disconnect from menu -> DISCONNECTED
- EssentialsX kick -> KICKED
- Suspend server JVM -> DISCONNECTED
- Suspend client JVM -> TIMED_OUT
- Call #exceptionCaught -> ERRONEOUS_STATE

Suspension was done through `kill -STOP` and subsequently `kill -CONT`
after the player has (been) disconnected.

Closes #254.
2020-11-14 21:22:41 +01:00
Shane Freeder
372dc10f91
Updated Upstream (CraftBukkit) (#4760)
Upstream has released updates that appears 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:
23618b2c SPIGOT-6240: Use correct portal search radius
2020-11-13 22:03:29 +00:00
Mariell Hoversholm
d6fb9717b0
Updated Upstream (CraftBukkit)
Upstream has released updates that appears 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:
23618b2c SPIGOT-6240: Use correct portal search radius
2020-11-13 20:07:38 +01:00
Shane Freeder
f2606228bb Revert "Zero pad chunks before saving them to the disk"
This reverts commit 4ba3c0542f.
2020-11-13 14:51:22 +00:00
Toon Schoenmakers
4ba3c0542f Zero pad chunks before saving them to the disk
This makes the unused data inside region files more repeatable.
Which will result in better compression in case the entire world directory
is compressed (like in backups). Which will naturally result in smaller backups.
2020-11-12 21:10:57 +01:00
BillyGalbreath
73fc96669d
Fix per-world settings not reloading (#4756) 2020-11-12 04:58:42 +00:00
Jason
94c99a8d73
Fix NPE thrown when converting MerchantRecipe from Bukkit to NMS (#4755)
This bug was introduced in becb478cd5 (Add ignore discounts API)
2020-11-11 21:35:44 -06:00
Zach Brown
072faf2ae9 Fix minor issue with JavaDoc breaking doc deploys 2020-11-11 21:19:46 -06:00
Aikar
5b123cd1d5
[CI-SKIP] [Auto] Rebuild Patches
A recent commit has been made that caused patches to be out of order, rebuilding
2020-11-11 12:46:51 -05:00
Mariell Hoversholm
becb478cd5 Add ignore discounts API 2020-11-11 18:44:17 +01:00
Jake Potrebic
9e90c15f20 Add custom ranges to beacons
Adds 3 methods to the Beacon block state to set a custom range for the beacon.
One to set the range, one to get the range, and one to reset the range
(aka go back to using the default range-by-beacon-tier system).
2020-11-11 18:38:49 +01:00
Alfie Smith
068313fa2e Item no age & no player pickup 2020-11-11 18:35:07 +01:00
Jason
1b3c20f94f
Fix client lag on advancement loading (#4710)
When new advancements are added via the UnsafeValues#loadAdvancement
API, it triggers a full datapack reload when this is not necessary. The
advancement is already loaded directly into the advancement registry,
and the point of saving the advancement to the Bukkit datapack seems to
be for persistence. By removing the call to reload datapacks when an
advancement is loaded, the client no longer completely freezes up when
adding a new advancement.
To ensure the client still receives the updated advancement data, we
manually reload the advancement data for all players, which
normally takes place as a part of the datapack reloading.
2020-11-11 16:18:36 +00:00
Aurora
c596edb1fb
[CI-SKIP] Update IRC information in readme and config (#4751)
Co-authored-by: Mariell <proximyst@proximyst.com>
Co-authored-by: Riley Park <riley.park@meino.net>
2020-11-10 09:15:03 +01:00
Aikar
a936a413a2
[Auto] Updated Upstream (Bukkit)
Upstream has released updates that appears 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:
2e244e41 SPIGOT-6233: Clarify InventoryClickEvent documentation
2020-11-10 03:12:07 -05:00
Mariell Hoversholm
2b2f2ea362 Toggle for removing existing dragon 2020-11-09 22:44:07 +01:00
Aikar
3457ccad89
[Auto] Updated Upstream (Bukkit/CraftBukkit)
Upstream has released updates that appears 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:
70a529ba SPIGOT-6229: Clarify PlayerItemBreakEvent documentation

CraftBukkit Changes:
009f0ba0e #769: Fix FishHook.maxWaitTime
2020-11-09 02:27:10 -05:00
Shane Freeder
60b59901af Updated Upstream (Spigot)
Restab at the last upstream to add support for migrating the option for disabling player data
saving back into spigots config, vs blindly dropping it

Upstream has released updates that appears to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Spigot Changes:
a19903d2 SPIGOT-520: Add option to disable player data saving
2020-11-09 01:05:30 +00:00
Shane Freeder
611a0ee52d Revert "Updated Upstream (Spigot) (#4745)"
This reverts commit e38eceb42a.
2020-11-09 00:09:37 +00:00
Mariell
e38eceb42a
Updated Upstream (Spigot) (#4745)
Upstream has released updates that appears to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Spigot Changes:
a19903d2 SPIGOT-520: Add option to disable player data saving
2020-11-08 10:00:43 +00:00
Shane Freeder
2609a118e8 Updated Upstream (Bukkit/CraftBukkit)
Upstream has released updates that appears 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:
f4f2ef4c SPIGOT-6222: Correct javadoc for Entity#setPassenger
1871ca9d #559: Add wait time modification for FishHook

CraftBukkit Changes:
bc6a175e #767: Add wait time modification for FishHook
2fc37bcc SPIGOT-6197: Prevent world loading from updating spawn settings of all worlds
2020-11-07 00:19:04 +00:00
Aikar
7358bf02f3
[Auto] Updated Upstream (CraftBukkit/Spigot)
Upstream has released updates that appears 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:
3eb7236e4 SPIGOT-6217: Missed PlayerEditBookEvent when editing books

Spigot Changes:
37d799b2 SPIGOT-6218: Player.spigot().sendMessage(UUID, BaseComponent...) does not work
2020-11-04 03:57:07 -05:00
Pedro Arenas
8df6e39b11
[CI-SKIP] Fix version for groovy artifact (1.16.4) (#4730) 2020-11-03 21:33:08 +00:00
Mariell
0e73fdbf72
OBFHELPERS (#4733) 2020-11-03 21:30:15 +00:00
Shane Freeder
56d8811924 Updated Upstream (Bukkit/Spigot)
Upstream has released updates that appears 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:
eda400d3 SPIGOT-6213: MinecraftFont.getWidth(" ") returns 2 when it should be 3

Spigot Changes:
aa477927 #100: Allow sending messages from specific UUIDs
2020-11-03 09:14:21 +00:00
Aikar
7bcee869ec
[Auto] Updated Upstream (CraftBukkit)
Upstream has released updates that appears 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:
6fd677caf SPIGOT-6206: Use correct sender UUID for chat messages
a489dd4ac Revert "Downgrade NMS revision"
2020-11-03 03:12:06 -05:00
Aikar
a41292445e
[Auto] Updated Upstream (CraftBukkit)
Upstream has released updates that appears 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:
ce64c84ca SPIGOT-6205: Rewrite enum to/from NMS type methods
dd10b375c Downgrade NMS revision
2020-11-03 02:27:09 -05:00
Daniel Ennis
e792da723a
Updated Upstream (Bukkit/CraftBukkit/Spigot) (#4728)
Upstream has released updates that appears 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:
30885166 Update to Minecraft 1.16.4

CraftBukkit Changes:
3af81c71 Update to Minecraft 1.16.4

Spigot Changes:
f011ca24 Update to Minecraft 1.16.4

Co-authored-by: Mariell Hoversholm <proximyst@proximyst.com>
2020-11-02 20:22:15 -06:00
oxygencraft
4bcebab167 Add getOfflinePlayerIfCached(String) 2020-11-01 20:21:07 +01:00
Spottedleaf
67c30690ad Fix ghost blocks in ticking view distance
Fixes #4298.

Tuinity patch:
576e2cc1af/patches/server/0047-Fix-ghost-blocks-in-ticking-view-distance.patch
2020-11-01 19:50:48 +01:00
Mariell
8e6d90c2d2
[CI-SKIP] Add a GitHub Actions job (#4703)
Co-Authored-By: Chew <chew@chew.pw>

Co-authored-by: Chew <chew@chew.pw>
2020-10-28 17:01:09 -04:00
Toon Schoenmakers
0ac53efb30
Avoid crashing clients when fishing loot is empty, Fixes #4235 (#4681) 2020-10-28 16:39:02 -04:00
Yive
b64ee74a23 Fix armor stands still doing entity collision 2020-10-28 19:37:38 +01:00
Mariell
72de619083
Make fireworks call PlayerLaunchProjectileEvent (#4698) 2020-10-27 17:01:32 -05:00
Andrew Steinborn
c712f2c053
[1.16] Improve performance of matching ingredients for shapeless recipes (#4694) 2020-10-27 11:04:32 -04:00
Mariell
ecb4ccd633
Updated Upstream (Bukkit/CraftBukkit) (#4688)
Upstream has released updates that appears 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:
4abf9e96 #557: Add TNTPrimed#setSource method

CraftBukkit Changes:
dea41389 Remove outdated build delay.
9da3b5bf #762: Add TNTPrimed#setSource method
2020-10-26 11:02:55 -04:00
Aikar
3fc340d8fe
[Auto] Updated Upstream (CraftBukkit)
Upstream has released updates that appears 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:
55a78ffbd SPIGOT-6193: Allow small fireballs to ignite players when MobGriefing is disabled
2020-10-23 03:42:10 -04:00
Shane Freeder
f8eaa58556 Add support for RanagedEntity API for newer mobs (Fixes #4678) 2020-10-22 13:04:12 +01:00
stonar96
d0ad658b0c Fix slime block in Anti-Xray 2020-10-20 19:57:52 +02:00
giacomo
c64ad85b79 Fixed TileEntityBell memory leak 2020-10-20 19:38:45 +02:00
Trigary
a84348b6c9 Add player elytra boost API 2020-10-20 19:13:38 +02:00
William Blake Galbreath
6dad6258d3 Fix item locations dropped from campfires 2020-10-20 18:46:36 +02:00
Mariell
cfc098be5c
BukkitValues was renamed ChunkBukkitValues (#4664)
I blame cat!
2020-10-17 21:53:51 +01:00
Mariell
63d6aac46a
Updated Upstream (CraftBukkit) (#4663) 2020-10-17 21:42:18 +01:00
Shane Freeder
8319e912f4 Fix SafeNBTCopy#hasKey semantics
Fixes hasKey to check that a key actually exists, while retaining the
option to scream at keys which are requested which haven't been marked as
needing to be copied
2020-10-17 12:46:37 +01:00
Shane Freeder
85eccb571b Don't assume that entries exist for SafeNBTCopy 2020-10-17 12:20:44 +01:00