Commit Graph
100 Commits
Author SHA1 Message Date
Jason Penilla 6ae5176a52 Add missing null check to getFullChunkIfLoaded
fixes #10915
2024-06-18 18:27:50 -07:00
Jason Penilla acc349cf7d Remove getUnloadingChunkHolder check
It always returns null now. So it could NPE and is not useful.
2024-06-18 12:51:40 -07:00
Jason Penilla aaf37cb47d Fix CraftWorld#isChunkGenerated
The upstream implementation is returning true for non-full chunks.

This fix is not ideal since the new chunk system doesn't have a region file/chunk status patch. May want to be revisited before a non-experimental release.
2024-06-18 12:44:07 -07:00
Jason Penilla 2e8cf94dd1 Update ChunkMap#distanceManager mapping patch 2024-06-16 14:50:57 -07:00
Jason Penilla 67537d99b4 Bump tiny-remapper to 0.10.3
Fixes warnings when using some java 21 features
2024-06-14 21:44:18 -07:00
Jason Penilla 0c4a531524 Update Gradle Wrapper to v8.8 2024-06-14 17:53:11 -07:00
Jason Penilla 0785c29a37 update some patches 2024-06-13 20:41:44 -07:00
Jason Penilla ef45b03497 Use CommandSourceStack in AsyncPlayerSendCommandsEvent (#10826) 2024-05-30 11:32:43 -07:00
Jason Penilla d644dfaa27 Allow using PluginLoader classpath API from Bukkit plugins (#10758)
Allows using the PluginLoader API without any of the other changes imposed by switching to a paper-plugin.yml.

Used by setting paper-plugin-loader in plugin.yml to the class name of your PluginLoader.

Also allows skipping the libraries field by setting paper-skip-libraries to true (by default both libraries and jars provided by the PluginLoader are added to the classpath).
2024-05-23 13:13:02 -07:00
Jason Penilla cb60dbc9e3 Print CommandRegisteredEvent deprecation warnings again (#10756) 2024-05-23 10:44:45 -07:00
Jason Penilla e71c77f5e9 Add a better warning message than "Server performance will be affected" for CommandRegisteredEvent use (#10754) 2024-05-20 11:15:21 -07:00
Jason Penilla b7e944756d Show stacktrace when modifyItemStack fails 2024-05-13 22:58:50 -07:00
Jason Penilla 9e0c66cd6c Correctly copy alias requirements in command upgrader
Fixes NPE when converting namespaced commands.

Since the brigadier command api, more aliased commands
(namespaced variants) are registered in the vanilla dispatcher,
which made this issue more apparent.
2024-05-13 15:55:15 -07:00
Jason Penilla f9008ceb01 Fix signed book page serialization (#10696) 2024-05-11 15:13:18 -07:00
Jason Penilla 8a5ea7e5cf [ci skip] Fix paperclip PR label 2024-05-11 11:13:19 -07:00
Jason Penilla 71de67180a Add conversion for summon command 2024-05-10 12:57:07 +02:00
Jason Penilla c0abf0cfc9 Fix ping event always receiving protocol version 0 (#10671) 2024-05-07 05:24:45 -07:00
Jason Penilla 8712a1c838 Update paperweight to 1.6.3 (#10626) 2024-04-30 10:30:14 -07:00
Jason Penilla ec006b59bb Fix sealed package check in BytecodeModifyingURLClassLoader (#10627) 2024-04-30 01:21:16 -07:00
Jason Penilla c82479dc52 Remap plugin libraries with namespace set to spigot (#10610)
* Remap plugin libraries with namespace set to spigot

* Remap plugin libraries with namespace set to spigot
2024-04-28 14:55:10 -07:00
Jason Penilla 32ad479664 Rewrite reflection in library loader jars (#10608)
* Rewrite reflection in library loader jars

* Address todos
2024-04-28 13:14:10 -07:00
Jason Penilla 0b9087f4b8 Only scan org.bukkit.craftbukkit.inventory in MetaHandledTagsTest
fixes tests OOMing
2024-04-27 18:25:15 -07:00
Jason Penilla 08a94f6ebd bump paperweight to 1.6.2 to fix spurious build failure from scanJar OOM 2024-04-27 17:38:09 -07:00
Jason Penilla a7e0798f78 Use JetBrains runtime for run tasks
allows for better runtime class redefinition

closes #10459
2024-04-27 17:27:32 -07:00
Jason Penilla a43b4297ad Bump tiny-remapper (real) 2024-04-27 16:26:28 -07:00
Jason Penilla 572748364c Bump tiny-remapper 2024-04-27 16:26:03 -07:00
Jason Penilla 8c2f518abe update paperweight to 1.6.1 2024-04-27 16:07:47 -07:00
Jason Penilla ed3f76d3a5 remove funny diff 2024-04-27 14:11:35 -07:00
Jason Penilla bf6862b141 Move cb version definition to gradle patch 2024-04-27 14:02:33 -07:00
Jason Penilla e20beef9c7 Move obfhelper/stack deobf diff into original patch 2024-04-27 13:53:56 -07:00
Jason Penilla 9f60650248 Bump adventure ansi serializer 2024-04-27 13:31:37 -07:00
Jason Penilla a97258b9ee Start cleaning up plugin remapping patches 2024-04-27 13:27:01 -07:00
Jason Penilla 43b52c8d61 Unify plugin remapping debug flags 2024-04-27 11:41:56 -07:00
Jason Penilla f6bd443ff2 Don't tell people to build the reobf jar 2024-04-26 18:05:17 -07:00
Jason Penilla d93d74a7d5 Remove shadow from build classpath
it isn't used
2024-04-26 16:48:34 -07:00
Jason Penilla 23661b25f8 paperweight 1.6.0 2024-04-26 16:19:59 -07:00
Jason Penilla 8cb49c8d67 Update paper plugin check in PluginRemapper 2024-04-26 14:31:45 -07:00
Jason Penilla 6bfa9ce2b1 Update patched spigot decompiler to fix inconsistency based on processing order 2024-04-26 11:42:17 -07:00
Jason Penilla 898fa27a8f plugin manager updates 2024-04-25 23:17:15 -07:00
Jason Penilla e66d823dc3 hunk system fixes 2024-04-25 22:25:02 -07:00
Jason Penilla 3606096fbb compile fixes 2024-04-25 21:27:19 -07:00
Jason Penilla af2e3abf87 compile fixes 2024-04-25 20:15:07 -07:00
Jason Penilla 9c8593cb14 compile fixes 2024-04-25 19:54:07 -07:00
Jason Penilla ce02863322 generator fix 2024-04-25 19:09:21 -07:00
Jason Penilla 2432de7be3 Replace VanillaGradle use and update generated API 2024-04-25 18:40:50 -07:00
Jason Penilla 09a83f66ee compile fixes 2024-04-25 12:16:00 -07:00
Jason Penilla 0a19a66562 Fixes for cb pkg ver 2024-04-25 11:16:53 -07:00
Jason Penilla 21cf066afa Remove patch renaming scripts
These are pretty specific to tasks that kenny and I were doing when they were written, no need to keep them around when they aren't useful for others.
2024-04-25 10:53:29 -07:00
Jason Penilla 0773a7aff5 compile fixes 2024-04-24 22:29:18 -07:00
Jason Penilla c3eb1935c1 compile fixes 2024-04-24 22:16:04 -07:00
Jason Penilla 72936860a1 compile fixes 2024-04-24 21:38:28 -07:00
Jason Penilla 1db3411c0e compile fixes
compile fixes

compile fixes
2024-04-24 20:40:32 -07:00
Jason Penilla f70bbeeac6 some work on adventure 2024-04-24 18:10:18 -07:00
Jason Penilla 960e8f1ad8 adventure 4.17.0-SNAPSHOT 2024-04-24 17:46:57 -07:00
Jason Penilla 03152bc733 Drop conduit api patch (upstream implemented same api with same method signatures) 2024-04-24 17:40:30 -07:00
Jason Penilla faad8cbd62 Apply more API-implementing patches 2024-04-24 17:36:24 -07:00
Jason Penilla 16579c63d9 Update reflection rewriter to 0.0.1 release 2024-04-24 15:02:37 -07:00
Jason Penilla f2519808c9 694 2024-04-24 11:03:59 -07:00
Jason Penilla 4a43daa012 683 2024-04-24 10:59:51 -07:00
Jason Penilla c7f0919c43 Check for existing am session before running continueServerUpdate 2024-04-24 10:48:00 -07:00
Jason Penilla d527aa0f5b Fix api compile 2024-04-23 14:47:29 -07:00
Jason Penilla faac14cc4c Set mercury sourceCompat 2024-04-23 14:43:32 -07:00
Jason Penilla 178efa2903 Don't use defaultToolchain method for run tasks 2024-04-23 14:39:36 -07:00
Jason Penilla 8004d7f08a 41 2024-04-23 14:31:37 -07:00
Jason Penilla 17a9cefe8e Fix continueServerUpdate with 2-line subjects 2024-04-23 14:26:28 -07:00
Jason Penilla fbe7d95d0f 33 2024-04-23 14:12:24 -07:00
Jason Penilla 040ea261c7 Apply timings 2024-04-23 14:04:59 -07:00
Jason Penilla 67e8e37fe3 Apply shadow removal patch 2024-04-23 13:41:25 -07:00
Jason Penilla 5c78ce1a3a Fix reflection diff and order wrt commodore diff 2024-04-23 13:36:31 -07:00
Jason Penilla a616fad617 Add plugin remapping patches 2024-04-23 11:44:28 -07:00
Jason Penilla 6773af584a Move logging patches after adventure 2024-04-23 11:21:16 -07:00
Jason Penilla 76be2651ca "Downgrade" Vineflower to 1.10.1 release (#10423)
* "Downgrade" Vineflower to 1.10.1 release

The main thing we lose from the 1.11 snapshots is a recent fix for redundant casts.

* Thanks intellij

* a
2024-04-16 12:44:59 -07:00
Jason Penilla 61dc3d0b17 build: Compile against and shade the filtered jar (#9747)
* Compile against & shade the filtered jar

* Move check for if the paper asset root needs to be pushed

* Don't disable incremental compilation

* Remove mavenLocal

* use paperweight release
2024-04-04 17:12:05 -07:00
Jason Penilla 2b24892fa4 build: Update paperweight to 1.5.12 and Gradle Wrapper to 8.7 (#10361) 2024-03-29 10:43:36 -07:00
Jason Penilla a0b94c31b4 build: Update tiny-remapper to 0.10.1 & remove unused repo from dev bundle config (#10303) 2024-03-07 10:11:47 -08:00
Jason Penilla 14253bdf2c Run round-trip adventure codec tests with JSON, NBT, and Java ops. Use JavaOps for conversions. (#10031) 2024-02-17 14:58:56 -07:00
Jason Penilla 5b0b65027f [ci skip] Make test results viewable in-browser and downloadable (#10055)
* Post test results

* empty commit

* Make a test fail

* Add missing check

* Disable commenting

* Revert "Make a test fail"

This reverts commit d919653c2b38a3afb74d28e5462685f7ec54b16a.

* remove commenting permission
2023-12-19 19:33:46 -08:00
Jason Penilla 342ba71d4c Remove no longer needed diff from adventure patch 2023-12-12 13:44:09 -08:00
Jason Penilla ebf7955996 [ci skip] move decomp fixes to correct patch 2023-12-11 22:08:51 -08:00
Jason Penilla 4580d97f5e Fix deprecated bungee APIs still serializing to JSON in packets (#10028) 2023-12-11 20:24:48 -08:00
Jason Penilla 7c36ea0a5c Update paperweight to 1.5.11 2023-12-08 11:12:59 -07:00
Jason Penilla 8e3f9efc3c 1.20.4 2023-12-07 13:27:28 -07:00
Jason Penilla f53cff02ff Update adventure 2023-12-06 21:04:46 -07:00
Jason Penilla 10ee036217 Clean up settings script 2023-12-06 15:57:51 -07:00
Jason Penilla 813a64fcc8 Wait on stream redirect futures (update helper task) 2023-12-06 15:32:08 -07:00
Jason Penilla 812519d14f Temp adventure update 2023-12-06 13:45:12 -07:00
Jason Penilla f6afdc4e9b wait for second pass apply 2023-12-06 13:24:41 -07:00
Jason Penilla 61209168b7 build script updates 2023-12-06 11:48:37 -07:00
Jason Penilla e6b18a7ca9 add description to helper 2023-12-05 21:59:31 -07:00
Jason Penilla 436a966767 p a t c h e s 2023-12-05 21:49:31 -07:00
Jason Penilla 6aedc2af5d Improve update helper task 2023-12-05 21:46:41 -07:00
Jason Penilla 2d702b9bad more patch 2023-12-05 20:57:46 -07:00
Jason Penilla d71a8545e4 Add update helper task 2023-12-05 20:35:33 -07:00
Jason Penilla 20f31c62d2 some patches :D 2023-12-05 20:34:04 -07:00
Jason Penilla 7725b39a8f patches ... 2023-12-05 20:00:14 -07:00
Jason Penilla bb836b070a Bump Gradle wrapper to 8.5 2023-12-05 17:58:17 -07:00
Jason Penilla 4f136356d8 some more patch 2023-12-05 15:55:31 -07:00
Jason Penilla 7814f6c819 patches up to anti x ray 2023-12-05 15:32:41 -07:00
Jason Penilla 49eb9de165 fix timings patch field use 2023-12-05 15:25:12 -07:00
Jason Penilla 9811c737bb some more patches 2023-12-05 15:21:44 -07:00