Commit Graph

9040 Commits

Author SHA1 Message Date
Space Walker 3f3175814b Update Alternate Current to v1.9 (#11333) 2024-09-01 19:59:20 +02:00
Tamion eb3c4a33e7 Fix inventory desync when placing blocks with spawn protection (#11090)
* fix

* mention mojira issue

* move to vanilla bug fixes patch

---------

Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2024-08-31 21:01:29 +02:00
Tamion 4e20fc68d1 Fix InventoryOpenEvent cancellation (#11304)
* fix

* other blocks

* add missing diff in ContainerEntity

---------

Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2024-08-31 20:50:24 +02:00
Newwind 973bb47949 Fix horse armor desync (#11341) 2024-08-31 19:29:50 +01:00
Jason Penilla 5b96be4ce6 Fixup porting issue in vanillaBiomeProvider impl (#11185) 2024-08-31 10:59:17 -07:00
Nassim Jahnke 77d5e15846 [ci skip] Create SECURITY.md (#11331) 2024-08-27 18:12:32 +02:00
Gegy dc8d16ed3d Fix: synchronise sending chat to client with updating message signature cache (#11332)
In the case where multiple messages from different players are being processed in parallel, there was a potential race condition where the messages would be sent to the client in a different order than the message signature cache was updated. However, the cache relies on the fact that the client and server get the exact same updates in the same order. This race condition would cause the caches to become corrupted, and any future message received by the client would fail to validate.

This also applies to the last seen state of the server, which becomes inconsistent in the same way as the message signature cache and would cause any messages sent to be rejected by the server too.
2024-08-26 19:53:28 +02:00
Lulu13022002 e24e14e58d Re-implement maxLeashDistance world conf and call missing event (#11301)
* Re-implement maxLeashDistance world config and call missing event

* migrate config setting to double or default

* fixes

---------

Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2024-08-25 23:32:32 +02:00
okx-code 4a97c636b7 Add enchantment seed update API (#11282) 2024-08-25 21:39:06 +01:00
Isaac - The456 a41ced0e65 Ensure TabCompleteEvent always has a mutable backing list. (#11302) 2024-08-25 21:28:32 +01:00
DerEchtePilz 900192b490 Add a method to reset Lodestone compasses back to normal ones (#11308) 2024-08-25 22:25:13 +02:00
DerEchtePilz 2fa1146af5 Properly destroy placed blocks on the end platform (#11292) 2024-08-25 21:19:40 +02:00
Jake Potrebic 0481feec57 Deprecate API relating to menu title changes (#11309) 2024-08-25 11:56:17 -07:00
Jake Potrebic 43f2d628d5 Fix despawn ranges by defaulting to an ellipsoid shape (#11312) 2024-08-25 11:26:33 -07:00
Newwind 4a0660bd59 Remove set damage lootable item function from compasses (#11317) 2024-08-25 18:52:12 +01:00
Newwind acf0b2d2f1 Fix incorrect timestamp in region file header recalculation (#11318) 2024-08-25 18:42:15 +01:00
Lulu13022002 403db04ae4 Prevent duplicate pickup event for piglins (#11322) 2024-08-25 19:27:31 +02:00
Janet Blackquill 5f317598d4 Ensure MaterialChoice materials are items (#11325) 2024-08-25 13:20:10 -04:00
Nassim Jahnke 50b7f46507 Update spark-paper 2024-08-24 10:52:38 +02:00
roro1506HD 80501c393a Fix structure check API (#11307)
* Fix structure check API

* Use CraftStructure#bukkitToMinecraft

* Fixed spelling mistake on CraftStructure class name
2024-08-21 03:27:33 +02:00
Jake Potrebic 01e05f9751 Fix SculkBloomEvent firing for block entity loading (#11306) 2024-08-19 14:28:03 -07:00
Nassim Jahnke 4034116f05 Fixup config parsing 2024-08-19 12:47:50 +02:00
DerEchtePilz d80cafec08 [ci skip] Fix JavaDocs for HeightMap#MOTION_BLOCKING_NO_LEAVES (#11291) 2024-08-19 11:48:20 +02:00
Anthony J. Halliday 3ab4933ea3 Allow server administrators to disable book size checks (#10457) 2024-08-19 05:46:39 -04:00
kokiriglade 9921a197e7 Add getWorld method that uses adventure Key (#11199) 2024-08-19 10:41:55 +01:00
Nassim Jahnke 5703e6c6d8 [ci skip] Clean up book limits patch (#11297) 2024-08-19 11:33:17 +02:00
Spottedleaf 9804f7ffe1 Use player file, not directory, when checking for offline player data
When trying to fall back to offline player data in onlide mode,
we need to use the player file. This fixes a mistake during
update where 'file' was used, but the new code uses 'file1'
for the player file.
2024-08-18 15:32:25 -07:00
Spottedleaf 9ceadbe9f1 Fix entity limit patch deleting unnecessary entities
We need to continue the save loop, not break from it
when a limit is reached.
2024-08-18 11:14:39 -07:00
SoSeDiK 1f6969e350 Allow getting/setting the sign's editor uuid (#10637)
* Allow getting/setting the sign's editor uuid

* rebased

---------

Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2024-08-18 00:36:27 +03:00
Tamion 0f622bb732 Fix CraftBukkit drag system (#10703) 2024-08-17 23:31:38 +02:00
Isaac - The456 659f0f2fd0 Fix Selector Arguments not working with permission (#11286) 2024-08-17 22:20:21 +01:00
Lulu13022002 6da54bd440 Leashable API (#10961) 2024-08-17 23:17:18 +02:00
Jake Potrebic 0df31bdeb3 Add even more Enchantment API (#11115) 2024-08-17 13:58:36 -07:00
Lulu13022002 0a041c951d Update item data sanitization (#11227) 2024-08-17 22:30:21 +02:00
Jake Potrebic c10949d863 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#11284)
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:
4068c6aa PR-1053: Change docs for max power in FireworkMeta
6b3c241b SPIGOT-7783, SPIGOT-7784, PR-1051: Add Trial Vault & Spawner event API
5fe300ec PR-1052: Fix broken links and minor improvement for checkstyle.xml

CraftBukkit Changes:
7548afcf2 SPIGOT-7872: Fix crash with event-modified teleports
93480d5d6 SPIGOT-7868, PR-1463: Fix default and max power in FireworkMeta
5060d1a84 SPIGOT-7783, SPIGOT-7784, PR-1460: Add Trial Vault & Spawner event API
11dfcae71 PR-1462: Fix broken links and minor improvement for checkstyle.xml

Spigot Changes:
ca581228 Rebuild patches
2024-08-17 12:39:11 -07:00
Tamion da11f251cd Add Configuration for vertical Despawn Ranges (#11279) 2024-08-17 21:13:10 +02:00
Shane Freeder d0221fe540 Migrate ArmorStand meta to using entity tag (#11107) 2024-08-16 23:30:11 +01:00
Lulu13022002 f011be78fc Implement more methods for horse inventories (#11147) 2024-08-17 00:27:47 +02:00
Lulu13022002 d44aa26792 Handle custom registry elements properly (#11230)
* Handle custom registry elements properly

* update error message

Datapack made painting variant support is added in https://github.com/PaperMC/Paper/pull/11244

* change msg for art conversion

---------

Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2024-08-16 23:21:35 +02:00
Lulu13022002 0c47bf87a2 Re-implement portalCreateRadius world config (#11267) 2024-08-16 22:59:46 +02:00
Mart d0fb407064 Allow skipping of world symlink validation (#11250) 2024-08-16 16:36:30 -04:00
Bjarne Koll 8ffc76800a [ci-skip] Revert "Add Configuration for vertical Despawn Ranges (#10440)" (#11278)
This reverts commit 258b830f5e.
2024-08-16 22:33:52 +02:00
Tamion 258b830f5e Add Configuration for vertical Despawn Ranges (#10440) 2024-08-16 22:29:53 +02:00
Abel c1b2a34de3 Fix indestructable light blocks (#11275)
Co-authored-by: Bjarne Koll <git@lynxplay.dev>
2024-08-16 22:13:00 +02:00
Lulu13022002 42dae8d83e Fix scanForLegacyEnderDragon world config (#11262) 2024-08-16 21:45:07 +02:00
hyperdefined f2ebf08911 [ci skip] Specify rebase location in CONTRIBUTING (#11255)
* [ci skip] Specify rebase location in CONTRIBUTING

* Improve

* remove Paper-MojangAPI mention

---------

Co-authored-by: Bjarne Koll <git@lynxplay.dev>
Co-authored-by: Lulu13022002 <41980282+Lulu13022002@users.noreply.github.com>
2024-08-16 15:41:58 -04:00
Spottedleaf 1d4d2dc5f9 Apply optimise collision checking in move packet handling patch 2024-08-16 06:56:13 -07:00
Lulu13022002 fee33bd1e2 Fix NPE for PlayerPostRespawnEvent#getRespawnedLocation (#11268) 2024-08-16 09:20:57 +02:00
Lulu13022002 815149208d Fix disableEndCredits world config (#11261) 2024-08-14 21:26:38 +02:00
hyperdefined fe4996a080 Fix TooltipContext.create being wrong(#11254)
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2024-08-14 08:39:45 -04:00