Commit Graph

5642 Commits

Author SHA1 Message Date
jmp 6c83bc6e58 Remove from Map by key 2021-03-29 11:56:36 +02:00
Spottedleaf 857852c28a Make sure to remove correct TE during TE tick
See Hydra, March 29th 2021.
2021-03-29 09:14:13 +02:00
Aikar f7b4abb259
[Auto] Updated Upstream (Bukkit/CraftBukkit)
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:
15ba9ae7 SPIGOT-6357: Add World#getMinHeight

CraftBukkit Changes:
e9ad7cba9 SPIGOT-6357: Add World#getMinHeight
2021-03-28 04:42:30 -04:00
Leijurv 8b47131da7
Optimize short circuit evaluation of sign check (#5348) 2021-03-26 04:52:46 +00:00
Dmitry Sidorov 1a2fd12a5f
Drop carried item when player has disconnected (#5036) (#5166) 2021-03-26 04:21:24 +00:00
Jason 68af93524c
Use PaperAdventure.PLAIN instead of PlainComponentSerializer.plain() for AdventureComponent#getString (#5414) 2021-03-25 17:01:59 -07:00
Jason 6caa330c61
Add checkerframework nullness annotations to accepted list for AnnotationTest (#5409)
Also use checkerframework annotations instead of jetbrains ones for Inventory#getContents as jetbrains ones do not allow properly annotating the nullability of an array and it's contents.
2021-03-24 03:02:32 -07:00
Aikar 7259c32bac
[CI-SKIP] [Auto] Rebuild Patches
A recent commit has been made that caused patches to be out of order, rebuilding
2021-03-23 10:57:27 -04:00
Bartosz Stefańczyk 0e06e912ec
Fix annotations so Inventory#getContents returns non-null array with nullable type (#5350) 2021-03-23 14:51:08 +00:00
Shane Freeder b90b4f8ad2
Properly apply Sign#isEditable to TEs when calling BlockState#update 2021-03-23 06:46:59 +00:00
MiniDigger | Martin 0641de2d4f
[CI-SKIP] Change some fields to textara (#5405) 2021-03-22 15:16:57 +00:00
Olivia 98a34ea476
[CI-SKIP] 🚀 Upgrade to new form-based templates (#5278) 2021-03-22 16:07:16 +01:00
Shane Freeder bca97a8f73
replace spaces in world key (touches #5397) 2021-03-22 01:10:13 +00:00
Riley Park de94f64850
Refactor chat message composition (#5396)
fixes #5395
2021-03-21 13:47:13 -07:00
Black Hole e27f334bb2
[CI-SKIP] Fix makemcdevsrc.sh for nms relocations (#5389) 2021-03-21 04:07:14 +00:00
Shane Freeder ae15e85da4
Updated Upstream (CraftBukkit)
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

CraftBukkit Changes:
7eb35643 SPIGOT-6398: Fix crash when bonemealing bamboo and the BlockSpreadEvent is cancelled
2021-03-19 23:27:53 +00:00
Jason 26fe0ac5a8
Only set despawnTimer for Wandering Traders spawned by MobSpawnerTrader (#5391)
Upstream recently broke this when they exposed despawnTimer to API.
2021-03-19 23:19:28 +00:00
Jason b748eb7b8f
Fix VanillaMobGoalTest#testBukkitMap (#5390) 2021-03-19 22:21:54 +00:00
Aikar 18dbbb578e
[Auto] Updated Upstream (CraftBukkit)
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

CraftBukkit Changes:
9c32a8794 Fix broken wandering traders
2021-03-19 18:07:29 -04:00
Mariell Hoversholm fac9cc5d5c [CI-SKIP] Ignore .gitignore
A `.gitignore' will make packages such as
`net.minecraft.world.entity.ai.goal.**target**` be ignored. This causes
the entire patch to not apply, which is very suspicious. This commit
adds a `--force' parameter to the `git add' command we run, as per `man
git-add':

```
       -f, --force
           Allow adding otherwise ignored files.
```

The global configuration file was proven problematic, then fixed by
this by commit by Prof_Bloodstone#0123 and thekinrar#0001 on Discord
(`#paper-dev').

CI-SKIP: This does not apply to the CI, therefore it is not worthy of
its own build.
2021-03-19 18:36:06 +01:00
jmp 087aa70e7c Deprecate ItemStack#setLore(List<String>) and ItemStack#getLore, add Component based alternatives 2021-03-19 10:00:35 +01:00
Mariell Hoversholm 9889c651ce apply fixup
I managed to move it, yet forgot to actually fix it up...
2021-03-19 07:54:18 +01:00
Mariell Hoversholm c310f0a610 Updated Upstream (Bukkit/CraftBukkit)
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:
4e5f46cb Update ASM version

CraftBukkit Changes:
d54b500d Prepare for Java 16
2021-03-18 18:03:22 +01:00
Mariell Hoversholm f17560ab02 wtf is this t file -jmp 2021-03-18 18:03:22 +01:00
Mariell Hoversholm 347f3a9b87 fix compile 2021-03-18 18:03:22 +01:00
Mariell Hoversholm 700e9e6a56 rebase 2021-03-18 18:03:22 +01:00
Mariell Hoversholm cf4dc464a8 Revert de5f4e469...c270abe96 2021-03-18 18:03:22 +01:00
Mariell Hoversholm 6870db6137 script & POM fix 2021-03-18 18:03:22 +01:00
Mariell Hoversholm 743c6533c3 Replace ** with * (BSD/macOS) 2021-03-18 18:03:22 +01:00
Mariell Hoversholm 376d7b0975 Don't remove the .java 2021-03-18 18:03:22 +01:00
Mariell Hoversholm fcb3fd42a7 Fix macOS/BSD support 2021-03-18 18:03:22 +01:00
Mariell Hoversholm 8cfc052497 Link correctly 2021-03-18 18:03:22 +01:00
Mariell Hoversholm ba1031ca7c Rename work dir 2021-03-18 18:03:22 +01:00
Mariell Hoversholm c8d844ab71 Actually fix preloading this time 2021-03-18 18:03:22 +01:00
Mariell Hoversholm e62aa5e3e4 Fix class preloading 2021-03-18 18:03:22 +01:00
Mariell Hoversholm 1c03cf8987 It's mojang math, not minecraft math 2021-03-18 18:03:22 +01:00
Mariell Hoversholm 1034873dfa Apply fixups 2021-03-18 18:03:22 +01:00
Mariell Hoversholm 39b1257716 Use revision file 2021-03-18 18:03:22 +01:00
Mariell Hoversholm 956150da7f Welcome to 1.16.5-R0.2 2021-03-18 18:03:22 +01:00
Mariell Hoversholm ccb217c01d Change cache keys 2021-03-18 18:03:22 +01:00
Mariell Hoversholm 0d217001c4 more work 2021-03-18 18:03:22 +01:00
Mariell Hoversholm f6d820f077 It compiles 2021-03-18 18:03:22 +01:00
Mariell Hoversholm 0f78e95250 More work 2021-03-18 18:03:22 +01:00
jmp 1718f61bf8 Updated Upstream (CraftBukkit/Spigot)
Doesn't compile yet.

CraftBukkit Changes:
90d6905b Repackage NMS
69cf961d Repackage patches

Spigot Changes:
79d53c28 Repackage NMS
2021-03-18 18:03:22 +01:00
jmp b28d461145 Update scripts for NMS repackaging 2021-03-18 18:03:22 +01:00
Riley Park d4532f7e70
bug #5373 - fix AsyncChatEvent not being posted when processing a legacy APCE continuation 2021-03-16 11:57:34 -07:00
stonar96 522ae1c51c
Replace all block states of a specified block (#5055)
Up to now Anti-Xray did only replace blocks that have the default block
state of the specified blocks in hidden-blocks (engine-mode: 1) or
hidden-blocks and replacement-blocks (engine-mode: 2). Therefore it wasn't
possible to replace for example chests facing south because chest refers to
the default block state facing north. Supporting block states in these lists
is overkill. Instead this commit makes Anti-Xray to replace all block states
of a specified block. However, Anti-Xray will still place the default block
states.
2021-03-16 00:40:57 +00:00
Aikar 1cda671187
[Auto] Updated Upstream (CraftBukkit)
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

CraftBukkit Changes:
2ffdb31ec Use upstream plexus-compiler-eclipse
2021-03-15 02:57:17 -04:00
Josh Roy 8c74d31264
Updated Upstream (Bukkit) (#5359)
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:
c589f546 Use upstream plexus-compiler-eclipse
2021-03-14 19:35:51 +00:00
Riley Park fd3c66a913
bug #5362 - correctly pass "render type" when registering a new scoreboard objective
fixes #5362
2021-03-14 12:04:55 -07:00