aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2021-12-19Update Log4J (1.15.2) (#7157)ver/1.15.2sulu5890
* Update Log4j * update log4j (again)
2020-12-03fixed spawn reason for spawners (#4843)Jake Potrebic
2020-10-27[1.15] Improve performance of matching ingredients for shapeless recipes (#4695)Andrew Steinborn
2020-10-11Backport some light and priority changs from 1.16 to 1.15Aikar
2020-10-11Fix distance in checkHighPriorityChunks (Fixes #4582) (#4605)ForceUpdate1
2020-10-11MC-147729: Drop items that are extra from a crafting recipe (#1766)chickeneer
2020-08-25fix config option in last commitShane Freeder
2020-08-25Buffer joins to worldShane Freeder
This patch buffers the number of logins which will attempt to join the world per tick, this attempts to reduce the impact that join floods has on the server
2020-08-06Do not let the server load chunks from newer versionsZach Brown
If the server attempts to load a chunk generated by a newer version of the game, immediately stop the server to prevent data corruption. You can override this functionality at your own peril. This restores patch we had for older versions.
2020-08-06Apply 1.16's light optimizations to 1.15.2 tooAikar
2020-07-29Further optimize chunk light prioritizationAikar
2020-07-28Fix deadlock issue with watchdog stoppingAikar
Fixes #4008
2020-07-28Remove ability to disable async chunks unless single core cpuAikar
Too many people try to disable async chunks thinking its the cure to some mysterious problem. It is not possible to fully disable async chunks, and the portion that this config controls is so minor in the grand scheme of things. People are needlessly hurting their server following bad advice, so just kill this config except for the people who might actually benefit from it.
2020-07-28[1.15] Fix off by one error for scheduling block ticks (#4013)Spottedleaf
Co-authored-by: Spottedleaf <[email protected]>
2020-07-27[1.15] Tighten logic for handling target tick times in tick scheduler (#4011)Spottedleaf
No longer rely on world time as plugins like to screw it up. Add a new flag -Dpaper.ticklist-max-tick-delay= that will automatically drop any tick entries that have a delay exceeding the specified amount. This is only useful for cleaning up a world that has been corrupted by certain blocks having a huge tick delay. Also fix an issue with some rails connecting incorrectly that I found when testing. Co-authored-by: Spottedleaf <[email protected]>
2020-07-27Fix Light Prioritization IssuesAikar
Ensures light priorities are properly processed before processing new work, skipping the threads queue. also stops processing work on task submission. Also drops dead chunks light work to not waste time on work thats going to be discarded.
2020-07-22Fix AdvancementDataPlayer leak due from quitting early in loginSpottedleaf
Move the criterion storage to the AdvancementDataPlayer object itself, so the criterion object stores no references - and thus needs no cleanup. Fixes #3050
2020-07-16[1.15] Move range check for block placing up (#3918)Spottedleaf
Co-authored-by: Spottedleaf <[email protected]>
2020-07-07Optimize the advancement data player iteration to be O(N) rather than O(N^2)Wyatt Childers
2020-07-06Fix Explosion location - Fixes #3574CDFN
2020-07-06[1.15] Optimize NetworkManager exception handling (#3820)Andrew Steinborn
2020-07-01Clean up duplicated GameProfile PropertiesAikar
We had a bug where we accidently cloned properties resulting in skulls growing to large sizes and preventing login. This now automatically cleans up the extra properties.
2020-06-28Fix Player Profile textures being duplicated - Fixes #3667Aikar
2020-06-28[1.15] Fix MobGoals#getAllGoals not actually returning all goals (#3671)MiniDigger
2020-06-28Manually inline PooledBlockPosition#d(int, int, int)Andrew Steinborn
2020-06-28Revert recent changes around player skulls using user cacheAikar
Fixes #3637
2020-06-25Fix NPE and uuid lookup for player skullsAikar
Fixes #3610 Fixes #3611
2020-06-231.15.2 - Updated Upstream (Bukkit/CraftBukkit)Aikar
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: 149527f7 SPIGOT-5782: Set Arrow Launched From Crossbow CraftBukkit Changes: be6aaf04 SPIGOT-5782: Set Arrow Launched From Crossbow 833da9c4 SPIGOT-5799: InventoryCloseEvent fires after PlayerQuitEvent 26c0084f SPIGOT-5675, SPIGOT-5798, MC-149563: Fix tracking of entities across dimensions 7f3e7c3f SPIGOT-5797: Zombie(Villagers) Instant Convert based on their lifetime
2020-06-23Add PrepareGrindstoneEventJan Tuck
2020-06-23Fix Player skulls for offline mode serversAikar
Always use online mode for them in Profile API calls Adds new API to profile API to let you control online mode yourself Fixes #3594
2020-06-23Updated Upstream (Bukkit/CraftBukkit/Spigot)Aikar
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: b2f1908c SPIGOT-5783: Add helpful info to UnknownDependencyException e4f46260 SPIGOT-2623: Add EntityEquipment methods to get/set ItemStacks by slot. 529a9a69 SPIGOT-5751: Clarify behaviour of block drop-related API methods CraftBukkit Changes: 8ea9b138 Remove outdated build delay. ffc2b251 Revert "#675: Fix redirected CommandNodes sometimes not being properly redirected" cb701f6b #675: Fix redirected CommandNodes sometimes not being properly redirected c9d7c16b SPIGOT-2623: Add EntityEquipment methods to get/set ItemStacks by slot. fad2494a #673: Fix Craftworld#isChunkLoaded 8637ec00 SPIGOT-5751: Made breakNaturally and getDrops returns the correct item if no argument is given Spigot Changes: a99063f7 Rebuild patches Fixes #3602
2020-06-23Fix many chunk loading issuesAikar
Fixes a few various issues with chunk ticket state restores mojangs ticket throttle but tries to be smarter about it. fixes a few state mismatches that needed to be handled. Fixes fake NPC's adding player tickets when they shouldn't have been. Improves teleport chunk loading by processing high priority on new area Fixes #3605 Fixes #3537 Fixes #3573
2020-06-23Fix not running level updates for light if no pre/post taskSpottedleaf
2020-06-22Add and implement PlayerRecipeBookClickEvent (#3351)Josh Roy
Co-authored-by: LordKorea <[email protected]>
2020-06-22Fix piston dupe patch creating ghost blocks (#3603)Mariell
The 2 flag (send change to clients) must always be set. If it is only set when the `map.replace` call before it does something, as was suggested on Discord, the issue will not change whatsoever. Fixes #3593
2020-06-21Fix NPE on TileEntitySkull (#3598)PatoTheBest
The setGameProfile method on TileEntitySkull is annotated with the @nullable annotation, but the skull didn't check for null profiles before attempting to retrieve cached skin. This bug was introduced by the commit making the skull use spigot's User Cache. Additionally, CraftMetaSkull also had the same issue with a null GameProfile, so this also ensures it doesn't break. The whole CraftPlayerProfile class is not null-safe, it requires a GameProfile that isn't null so we add a Validation on the constructor, that way it is easier to catch this kind of issue in the future.
2020-06-20Expose getItemStack in ArrowsNesaak
2020-06-20Track Ender Dragon at current (no tick) view distancekickash32
2020-06-20Add clear reputation APIMariell Hoversholm
2020-06-20Add note to use Personal Forks and not Organization forks for PR'sAikar
Paper will routinely modify your PR for you to rebase it on latest or take care of any minor nitpicks that we can just solve for you instead of making you go back for a trivial item. However, if you use an Organization for the PR, this prevents Paper from doing this, and will require us to manually merge it and close the PR instead of it being marked as the purple merged. We much prefer to have merged PR's show as merged, so please do not use organizations repo's for PR as GitHub sadly does not support maintainers pushing to them. See [https://github.com/isaacs/github/issues/1681](https://github.com/isaacs/github/issues/1681)
2020-06-20Add history file for terminalㄗㄠˋ ㄑㄧˊ
2020-06-20Add Inventory getHolder methods without creating new block snapshots (#3535)Max Lee
2020-06-20Make `enableTreasureMaps` apply to shipwreck loot generationTechcable
Fixes #3480 Previously it only controlled whether villagers could trade treasure maps. Now it should apply to loot generated in treasure maps. We don't unregister treasure maps from the loot table, since this option is per-world and the table is global. Instead I just replaced the implementation with a NOP.
2020-06-20Remove useless warn logging while disconnectingHeartPattern
Remove useless "handleDisconnection() called twice" logging. This warning log every time player kicked by server.
2020-06-20Fix enderdragon exp dupeSpottedleaf
Properly track death stage when unloading/loading in the dragon
2020-06-20Prevent position desync in teleporting during movementSpottedleaf
Caused the server to revert to the player's overworld coordinates after teleporting into the end. Sidenote: The underlying issue is that the move call can teleport entities and do other things like kill the entity. In the future, to fix all exploits derieved from this usually unexpected behaviour, we need to move all of this dangerous logic outside of the move call and into an appropriate place in the tick method.
2020-06-20Fix sand not dying correctlySpottedleaf
If the falling block dies during teleportation (entity#move), then we need to detect that by placing a check after the move.
2020-06-20Fix carpet and rail duping by pistons under same TNT duping configSpottedleaf
This renames the config from enable tnt duping to enable piston duping Normally we would not have a config for rails and carpet duping, but the fix for TNT is the same fix for rails and carpet, so they are having to be covered under that same config.
2020-06-20Fix more cases of Bedrock breakingSpottedleaf
This is still covered under the setting to re-enable this.
2020-06-20Only complete from cache if ID is given (#3591)Mariell
As it stands, one can complete from the cache if no ID is given. If there is no ID, it will throw an NPE, as ConcurrentHashMap (which is used in UserCache) does not support null keys. This should fix any current and future issues where exceptions are thrown just because a UUID is not currently given on the profile due to a plugin or server bug/issue. Fixes #3590.