Commit graph

5708 commits

Author SHA1 Message Date
Gergely Sarkozi
72ad57c599 forced whitelist: use configuable kick message (fixes #5417) (#5418) 2021-03-31 08:15:12 +02:00
Riley Park
ee9fab24e7 bug #5432 - post modern event even if legacy event is cancelled
fixes #5432
2021-03-29 19:20:10 -07:00
Jason Penilla
ed27c9d52c Remove from Map by key 2021-03-29 02:50:01 -07:00
Spottedleaf
0336df461a Make sure to remove correct TE during TE tick
See Hydra, March 29th 2021.
2021-03-29 09:08:29 +02:00
Automated
7d068815fe [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
012a401d1e Optimize short circuit evaluation of sign check (#5348) 2021-03-25 18:52:46 -10:00
Dmitry Sidorov
24c27bdb18 Drop carried item when player has disconnected (#5036) (#5166) 2021-03-26 07:21:24 +03:00
Jason Penilla
8d7a6d9c89 Use PaperAdventure.PLAIN instead of PlainComponentSerializer.plain() for AdventureComponent#getString (#5414) 2021-03-25 17:01:59 -07:00
Jason Penilla
a12e69774f 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
Bartosz Stefańczyk
4a1f5cb85e Fix annotations so Inventory#getContents returns non-null array with nullable type (#5350) 2021-03-23 15:51:08 +01:00
Shane Freeder
68f0738631 Properly apply Sign#isEditable to TEs when calling BlockState#update 2021-03-23 06:46:54 +00:00
MiniDigger | Martin
098fb6ec40 [CI-SKIP] Change some fields to textara (#5405) 2021-03-22 16:16:57 +01:00
Olivia
733ec20c4e [CI-SKIP] 🚀 Upgrade to new form-based templates (#5278) 2021-03-22 10:07:16 -05:00
Shane Freeder
eac81f6960 replace spaces in world key (touches #5397) 2021-03-22 01:10:13 +00:00
Riley Park
43a6e9e19c Refactor chat message composition (#5396)
fixes #5395
2021-03-21 13:47:13 -07:00
Black Hole
6f0d20d436 [CI-SKIP] Fix makemcdevsrc.sh for nms relocations (#5389) 2021-03-21 05:07:14 +01:00
Shane Freeder
7fb24d323a 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 Penilla
786afba088 Only set despawnTimer for Wandering Traders spawned by MobSpawnerTrader (#5391)
Upstream recently broke this when they exposed despawnTimer to API.
2021-03-19 16:19:28 -07:00
Jason Penilla
6d452f1f7f Fix VanillaMobGoalTest#testBukkitMap (#5390) 2021-03-19 15:21:54 -07:00
Automated
93ce0f3a89 [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
04dd5cbf5e [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:25:18 +01:00
Jason Penilla
a724816abb Deprecate ItemStack#setLore(List<String>) and ItemStack#getLore, add Component based alternatives 2021-03-18 22:04:54 -07:00
Mariell Hoversholm
8bafc17d67 apply fixup
I managed to move it, yet forgot to actually fix it up...
2021-03-19 07:50:12 +01:00
Mariell Hoversholm
4ff6e86500 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-17 17:37:12 +01:00
Mariell Hoversholm
597f326302 wtf is this t file -jmp 2021-03-17 11:18:04 +01:00
Mariell Hoversholm
2d21a9f100 fix compile 2021-03-17 10:47:08 +01:00
Mariell Hoversholm
61ccf4bd87 rebase 2021-03-17 10:20:38 +01:00
Mariell Hoversholm
ebbbfa4e37 Revert de5f4e469...c270abe96 2021-03-16 19:43:56 +01:00
Mariell Hoversholm
1ecd8a1ca7 script & POM fix 2021-03-16 19:41:20 +01:00
Mariell Hoversholm
2a17719272 Replace ** with * (BSD/macOS) 2021-03-16 19:34:40 +01:00
Mariell Hoversholm
b7bfc81de4 Don't remove the .java 2021-03-16 19:31:27 +01:00
Mariell Hoversholm
aa3cd67b54 Fix macOS/BSD support 2021-03-16 19:26:49 +01:00
Mariell Hoversholm
e7ae17022f Link correctly 2021-03-16 18:31:01 +01:00
Mariell Hoversholm
8e7a9cdae4 Rename work dir 2021-03-16 18:30:17 +01:00
Mariell Hoversholm
2d847f7478 Actually fix preloading this time 2021-03-16 17:51:13 +01:00
Mariell Hoversholm
3052fe18f6 Fix class preloading 2021-03-16 17:47:15 +01:00
Mariell Hoversholm
555df3decc It's mojang math, not minecraft math 2021-03-16 17:39:56 +01:00
Mariell Hoversholm
9214bd49ba Apply fixups 2021-03-16 17:37:33 +01:00
Mariell Hoversholm
dc29362b55 Use revision file 2021-03-16 17:35:55 +01:00
Mariell Hoversholm
6ea816d217 Welcome to 1.16.5-R0.2 2021-03-16 17:09:07 +01:00
Mariell Hoversholm
f63acc3d72 Change cache keys 2021-03-16 17:02:53 +01:00
Mariell Hoversholm
c9ba11e0fc more work 2021-03-16 17:00:33 +01:00
Mariell Hoversholm
0750bfaf8c It compiles 2021-03-16 16:50:45 +01:00
Mariell Hoversholm
908c938d0c More work 2021-03-16 14:04:28 +01:00
Jason Penilla
062733b903 Updated Upstream (CraftBukkit/Spigot)
Doesn't compile yet.

CraftBukkit Changes:
90d6905b Repackage NMS
69cf961d Repackage patches

Spigot Changes:
79d53c28 Repackage NMS
2021-03-16 00:19:45 -07:00
Jason Penilla
213b84a2a8 Update scripts for NMS repackaging 2021-03-16 00:19:21 -07:00
Riley Park
8b1e661370 bug #5373 - fix AsyncChatEvent not being posted when processing a legacy APCE continuation 2021-03-16 11:57:34 -07:00
stonar96
797fc746d0 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 01:40:57 +01:00
Automated
11b21a19c3 [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
55421b2226 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 15:35:51 -04:00