Commit Graph

332 Commits

Author SHA1 Message Date
3feb510c17 Use Gradle wrapper 2022-04-07 00:05:56 -05:00
ac5ee6b0d7 Update Jenkinsfile 2022-04-06 21:45:16 -05:00
c9ea15b233 Almost forgor 2022-04-04 17:32:55 -05:00
65c6dc2d62 Let's try something 2022-04-04 17:21:20 -05:00
646f5e6002 Prevent non-living entities from being spawned by spawners (#7) 2022-04-04 02:39:28 -06:00
6760ad5417 Properly renames patch #19 to stop it from renaming itself 2022-04-04 02:13:12 -06:00
864f0915fd Remove API patches 2022-03-31 15:26:41 -05:00
6950f39d8c Prevent attributes with invalid namespaces from being applied to CraftMetaItems 2022-03-30 18:24:02 -06:00
8fdf4dce39 Validate String UUIDs during the CompoundTag -> GameProfile conversion process 2022-03-30 02:04:27 -06:00
4cecc52099 Reject oversized components from updating + removes unnecessary imports from dev-imports.txt 2022-03-28 17:13:43 -06:00
50e5b29c3d Merge pull request #6 from AtlasMediaGroup/FS-176
block excessive nbt that kicks players
2022-03-28 17:30:11 -04:00
31aad362c1 prepare for pr + fix typo 2022-03-28 17:24:47 -04:00
77cc5f291f Better handling of invalid JSON components
This commit has some behavioral changes!

An issue regarding the treatment of invalid JSON components was raised this morning. This commit changes the behavior for many things using the component system to instead replace the invalid JSON with text saying "** Invalid JSON Component **". Some things will not do this (e.g. the conversion process).

Here's a list of things that are affected by this change:
- Hover event components (specifically, the show_entity action)
- NBT components
- Entity names
- Beacons
- Enchantment tables
- Scoreboard save data loading
2022-03-28 15:17:49 -06:00
dbfbd9bca9 patch server side chunkbans 2022-03-28 17:07:28 -04:00
83cbb45e49 Attempt to fix security warnings 2022-03-26 23:25:45 -05:00
c2447a2967 Delete 0001-Add-getCommit-method-to-Bukkit.patch 2022-03-26 23:24:28 -05:00
a9ff8bbf56 This time it really works, trust me 2022-03-26 23:03:57 -05:00
b633a0b588 Force the exception so we do use Git 2022-03-26 22:34:10 -05:00
c50ed524ed Don't rely on Jenkins / Paper API 2022-03-26 22:13:07 -05:00
5ecc13f8e7 Create 0017-Change-version-fetcher-to-AMG.patch 2022-03-26 22:00:15 -05:00
148c864c28 Add NBT to dev imports 2022-03-26 21:31:26 -05:00
cd6898a9b0 Update README.md 2022-03-23 23:54:11 -05:00
de72c29550 Merge pull request #5 from LunaWasFlaggedAgain/main
Do not log invalid items in HoverEvent and ItemFrame
2022-03-22 03:59:58 -05:00
d929190ea2 I'm fucking retarded 2022-03-20 11:40:17 -06:00
0afb6fef8d Merge branch 'AtlasMediaGroup:main' into main 2022-03-20 13:43:40 -03:00
330a8ac936 t 2022-03-20 13:43:35 -03:00
dcef1afe08 A better solution
Realized what they are doing. Will rename commit later
2022-03-20 08:38:11 -06:00
72b2109450 Validate coordinates before attempting to get block entities when handling Creative Inventory packets 2022-03-20 07:49:57 -06:00
1a748f754c Downgrades Paperclip to 2.0.1
Now you can actually create functional paperclip jars.
2022-03-20 06:32:37 -06:00
57b96d20af Do not log invalid items in HoverEvent and ItemFrame 2022-03-20 09:31:54 -03:00
ca57c181e4 Fixes crash exploit related to out of bounds Axolotl variants 2022-03-20 04:41:32 -06:00
529a33f1be Even more ResourceLocation validation and log spam fixes 2022-03-20 04:21:47 -06:00
2b36e3b591 Even more resource location validation 2022-03-14 00:52:57 -06:00
bca07e92bc Validates BlockState and SoundEvent values 2022-03-13 22:07:59 -06:00
9639d51c31 Additional fixes related to Knowledge Books
Missed a spot.
2022-03-13 21:12:08 -06:00
61cce5a83c Fixes Knowledge Books causing log spam when invalid data is provided
the game of whack-a-mole continues
2022-03-13 18:47:15 -06:00
ac6b6f77ee Merge pull request #4 from LunaWasFlaggedAgain/main
ItemEntity - Check if items are air before calling setItem
2022-03-13 18:28:17 -06:00
128fa39f5a ItemEntity - Check if items are air before calling setItem 2022-03-13 14:39:58 -03:00
82c566c108 Ignore errors thrown when trying to remove minecart entities with content in them
Just for good measure...
2022-03-13 08:16:59 -06:00
844df73f12 Merge pull request #3 from LunaWasFlaggedAgain/main
Ignore null/air bundle items in CraftMetaBundle
2022-03-13 08:11:55 -06:00
cc3776b0b4 Ignore null/air bundle items in CraftMetaBundle 2022-03-13 11:08:25 -03:00
28312aba85 Removes useless spammy error logging
we're playing wack-a-mole
2022-03-13 08:00:06 -06:00
347ea8905c Fixes invalid LootTables causing problems when applied to Minecart entities 2022-03-13 07:43:47 -06:00
eabbb65766 Fixes log spam caused by invalid entities in beehives 2022-03-13 06:12:45 -06:00
97d0a98f49 The project now builds properly
Version 1.3.4 of Paperweight does not work with 1.17.x completely. Reverting to 1.2.0, however, fixes the problem.
2022-03-13 04:52:24 -06:00
8de4abc61b Fixes the Blank SkullOwner exploit 2022-03-13 04:49:46 -06:00
3def4e2324 Merge pull request #2 from AtlasMediaGroup/invalid-hover-uuid
Return null when a show_entity hover event's UUID isn't valid
2022-03-13 00:27:37 -07:00
b9f5db4717 Return null when a show_entity hover event's UUID isn't valid
Fixes a server-crashing exploit regarding dispensing a shulker box with specially-crafted JSON components.
2022-03-12 20:27:30 -07:00
b8f1e68869 Merge pull request #1 from LunaWasFlaggedAgain/main
Downgrade to 1.17.1 + Rebrand
2022-03-12 18:50:40 -07:00
49f7f4f21d Downgrade to 1.17.1 + Rebrand 2022-03-12 22:39:38 -03:00