Commit Graph

47 Commits

Author SHA1 Message Date
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
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
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
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
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
8de4abc61b Fixes the Blank SkullOwner exploit 2022-03-13 04:49:46 -06: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
49f7f4f21d Downgrade to 1.17.1 + Rebrand 2022-03-12 22:39:38 -03:00
74b34eec95 Lowercase project names and exclude paper-api from paper-mojangapi 2021-12-02 20:58:35 -08:00
ad960f72e1 Update upstream 2021-12-02 00:00:38 -08:00
53dbd2bc9c Update upstream & paperweight to 1.2.0 2021-11-16 21:27:00 -08:00
ec10cc7b81 Update upstream & paperweight to 1.1.13 2021-11-03 19:59:43 -07:00
1a5f02ce1b Update upstream 2021-10-08 22:39:53 -07:00
fe0ed1609c Update upstream & paperweight to 1.1.12 2021-10-02 18:58:17 -07:00
a90d11e921 Update upstream 2021-09-24 19:10:14 -07:00
5288d83ece Update to paperweight 1.1.11 2021-08-24 21:34:59 -07:00
b683ff522e Updates for paperweight 1.0.3 2021-06-16 01:28:10 -05:00
192618885a Update patch for Paper 2021-06-13 15:47:02 -05:00
7a5fcc1249 Update for new paperweight 2021-06-12 23:44:00 -05:00
8001a714db its working now 2021-06-12 20:04:04 +02:00