Commit graph

7639 commits

Author SHA1 Message Date
Bjarne Koll
ca90c91128 Fix BlockPosition#offset(double,double,double) (#9190) 2023-05-07 14:14:34 +02:00
Nassim Jahnke
e5c8a57116 Make sure the player didn't disconnect when processing commands 2023-05-06 17:10:22 +02:00
Lulu13022002
2ba17103b9 Fix some NPE for EntityCompostItemEvent (#9169) 2023-05-03 13:07:51 +02:00
Pedro
af12848e70 Fix DamageSource for Falling Blocks (#9175) 2023-05-03 06:50:59 -04:00
Spottedleaf
f2b889e651 Break redstone on top of trap doors early
This logic hooks into the neighbour update which should be invoked
as a result of redstone powering the trap door.
2023-05-01 18:32:30 -07:00
Lukas Alt
f5bae877ea Fixed large packet handling (#9147)
Co-authored-by: Shane Freeder <theboyetronic@gmail.com>
2023-04-27 20:50:14 +02:00
GodOfPro
3ef136dfd7 Add Mob Experience reward API (#9122) 2023-04-27 22:19:19 +03:30
Jason Penilla
61475a2925 [ci skip] Update Gradle plugins and wrapper (#9140) 2023-04-26 10:07:13 -07:00
Owen1212055
5f0081c256 Disable allowListing before received from client (#9167) 2023-04-23 21:24:12 -04:00
Owen1212055
a4b55ff96a Fix LegacyPluginLoader dependency registration (#9165) 2023-04-22 21:55:10 -04:00
Owen1212055
2da0966452 Resolve Plugin Dependency Issues, Improve PluginLoading Compat, Small Loading Issues (#9129) 2023-04-22 13:44:40 -04:00
Jakub Zacek
b4e413f624 Fix server ignoring fallback for translatable components (#9134) 2023-04-20 09:05:41 +02:00
Emily
992e145a16 Undo making JavaPlugin#logger field public (#9125) 2023-04-19 12:46:09 -03:00
Luke Chambers
d8b12ddb4c Fix Inconsistencies with Paper Plugin Names (#9098) 2023-04-16 12:49:13 -04:00
Jake Potrebic
77aec31991 Removes some references to deprecated methods/types (#9043) 2023-04-15 18:13:59 -07:00
Warrior
01df66a280 Fix demo flag not enabling demo mode (#9103) 2023-04-16 01:30:23 +02:00
Shane Freeder
e00471db27 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:
465c4964 PR-843: Add damage methods to FallingBlock
46ba7c9f SPIGOT-7335: Fix typo in TextDisplay#TextAlignment enum name

CraftBukkit Changes:
818582f40 PR-1169: Add damage methods to FallingBlock
15a3eac66 SPIGOT-7335: Fix typo in TextDisplay#TextAlignment enum name
f01fb4979 SPIGOT-7336: Fix typo in internal method name
2023-04-14 00:52:42 +01:00
Matt Artist
2c67dc020d [ci-skip] Fix missing closing quote (#9126) 2023-04-11 20:57:56 -04:00
DungeonDev
95a758264f Optimize hoppers by not trying to merge full items. (#9110)
This can skip many very expensive call to ItemStack.tagMatches.
Makes canMergeItems return false for merging into ItemStacks that are already full.
2023-04-11 15:35:54 +02:00
Jake Potrebic
1adb95d20a Fix a couple of bed bugs (#9112) 2023-04-10 15:12:22 -07:00
Shane Freeder
5322e3cffb Revert "Resolve Plugin Dependency Issues, Improve PluginLoading Compat, Small Loading Issues (#9068)"
This reverts commit cfcfc9301c.
2023-04-10 11:25:04 +01:00
Redned
ab78c91615 Fix getBrightness and getRawBrightness throwing exception in BlockStateListPopulator (#9111) 2023-04-10 03:06:49 -05:00
caramel
898b222b42 Update Adventure to 4.13.1 (#9113) 2023-04-10 17:06:38 +09:00
Nassim Jahnke
d62c4b4074 Updated Upstream (Bukkit/CraftBukkit/Spigot)
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:
13eb4146 SPIGOT-5217, SPIGOT-6183: Add RespawnReason to PlayerRespawnEvent

CraftBukkit Changes:
5ee3419b7 SPIGOT-5217, SPIGOT-6183: Add RespawnReason to PlayerRespawnEvent

Spigot Changes:
514cf03a Rebuild patches and add RespawnReason.PLUGIN to Player#respawn
2023-04-10 10:03:36 +02:00
Shane Freeder
9df9cf9fb4 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:
de5ba402 PR-848: Mark get/setCatType methods deprecated in addition to the enum

CraftBukkit Changes:
50ee87fbc SPIGOT-7333: Correctly handle null in ColorableArmorMeta#setColor()
790be710b SPIGOT-7332: Persistent Data Container of Chunk not saving on stop or restart.
2023-04-09 23:38:03 +01:00
Owen1212055
cfcfc9301c Resolve Plugin Dependency Issues, Improve PluginLoading Compat, Small Loading Issues (#9068) 2023-04-09 18:28:30 -04:00
Jake Potrebic
e45971a648 Allow entity effect changes off the main thread for worldgen (#8942)
* Allow entity effect modification off the main thread for worldgen

* squash all async catcher patches
2023-04-09 11:38:32 -07:00
Jake Potrebic
e4ef376e9c [ci skip] add missing labels to project status map (#9106) 2023-04-09 00:00:43 -07:00
Shane Freeder
b4b4aee3dc 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:
aeb62aa3 Remove obsolete documentation from ArmorMeta#setTrim

CraftBukkit Changes:
cb6f3c028 PR-1173: Change CraftMinecartTNT to public for consistency
2023-04-09 01:13:38 +01:00
Jake Potrebic
14a8204d35 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#9104)
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:
eb4b416d PR-822: Add experimental armor trim API
33498e1d PR-831: Add a standard of annotations for Minecraft experimental things and API

CraftBukkit Changes:
19de3550d SPIGOT-7315: Bed placement duplicates crops if cancelled
1eb88374e PR-1147: Add experimental armor trim API
c4c0bb0e9 Show clean error for invalidly configured server.properties options
3ae90697f Fix UUID not being updated when changing world of MapView
e43000601 PR-1164, MC-227255, MC-253819: Fix rotation of beehives and bells

Spigot Changes:
d2fdfe39 Rebuild patches
2023-04-08 17:00:50 -07:00
Jake Potrebic
a37ccc7532 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#9088)
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:
5efeb7bd Also update compiler version
c13b867a Update some Maven plugin versions
deb28d9f PR-837: Add more bell API
e938d62a PR-819: Allow Player#sendBlockDamage() to specify a source entity
0e75532c PR-818: Add more Guardian API, particularly for its laser
a10155aa PR-839: Add BlockData#rotate and BlockData#mirror
77e690b4 PR-836: Add missing API for explosive minecarts
60722059 PR-832: Allow getting chunks without generating them and optimize chunk data request for ungenerated chunks
0a2c4b4b PR-834: Add Player#sendHurtAnimation()

CraftBukkit Changes:
be8682aa8 Also update compiler version
08e305f5b Update some Maven plugin versions
187bdd463 PR-1160: Add more bell API
2f8e5bc7c PR-1145: Allow Player#sendBlockDamage() to specify a source entity
bcbb61b36 PR-1144: Add more Guardian API, particularly for its laser
722ddff6d PR-1162: Add BlockData#rotate and BlockData#mirror
80998277c PR-1159: Add missing API for explosive minecarts
1fddefce1 PR-1155: Allow getting chunks without generating them and optimize chunk data request for ungenerated chunks
20e8a486f PR-1157: Add Player#sendHurtAnimation()

Spigot Changes:
b31949f2 Rebuild patches
2023-04-07 11:39:13 -07:00
Jake Potrebic
771aa3ec89 Fix unknown cmd msg for mc namespaced cmds (#9059) 2023-04-06 17:27:41 -07:00
Alex
f8be86a50e Properly resync player on Player#setPlayerProfile (#9080)
Currently breaking are potion effects and the XP bar, both are now being resent to make the client know about them again.
2023-04-07 01:21:33 +02:00
Shane Freeder
cec73ac951 Fix TPS command output (#9091)
* Fix TPS command output

* Cleanup + rebase

---------

Co-authored-by: Owen1212055 <23108066+Owen1212055@users.noreply.github.com>
2023-04-07 00:08:44 +01:00
Lulu13022002
b0f2d4916c Fix some broken block place logic (#9094)
- The dispensed shulker will not play the place sound (due to its logic been removed)
- The hanging sign text editor cannot be cancelled using the BlockPlaceEvent (not consistent with the other regular signs)
- The jukebox logic hasn't been synced with the RecordItem
2023-04-07 00:39:32 +02:00
Jake Potrebic
b87c297e3b [ci skip] add workflow for auto-managing issue board (#8958)
* add workflow for auto-managing issue board

* make concurrency depend on the issue number

* generate token in the action
2023-04-06 14:19:06 -07:00
Warrior
c68ce43ba6 Port airplane's use array for gamerule storage patch (#9087) 2023-04-06 14:18:45 +02:00
Shane Freeder
9f03aa5cc0 Prevent GameEvents being fired from unloaded chunks 2023-04-06 12:42:10 +01:00
BlockyTheDev
5967f1f3cc [ci skip] Update download urls (#9100) 2023-04-05 02:06:59 +02:00
Harry Devane
7d8be939d5 Fix ignoreCancelled having no effect on events registered by direct EventExecutor (#9099) 2023-04-04 22:40:31 +01:00
Lulu13022002
e217afc5b4 Cleanup some patches (#9093) 2023-04-04 11:47:16 +02:00
Shane Freeder
076afec362 Do not send expired keys to players on login (#9090)
This patch will prevent sending expired keys to players when logging into a server, while the client does have some grace period to prevent issues, if a key has expired beyond the grace period, connecting clients will be disconnected from the server upon join. The client should update keys before this key even expires, and a new key will be broadcasted out if we somehow actually get one.
2023-04-03 10:45:02 +01:00
Jake Potrebic
74b88dc367 Deprecate ChatColor (#9069)
All API that uses it is deprecated
2023-04-02 11:53:29 -07:00
elmital
7d091ee970 fix: null SpawnReason for new player (#9015) 2023-04-02 20:37:53 +02:00
Cody
b46708d565 Added a config option for ticking markers (#9034) 2023-04-02 13:21:13 -05:00
Jake Potrebic
f73eefd668 Remove duplicate animate packet for records (#8600) 2023-04-02 11:05:30 -07:00
Owen1212055
f5224dafea Allow non player entities in scoreboards by default (#9082)
This in general caused much more confusion than needed, and in general, made rather negligible performance gains on collision.
2023-04-02 13:53:11 -04:00
Fejby
1043e2076b [ci skip] Edit Paper download link in README (#9077) 2023-03-31 18:25:50 +02:00
powercas_gamer
bde53d9d44 Make debug dump file names consistent (#9075) 2023-03-31 13:17:57 +02:00
Shane Freeder
ee6a62f6b7 Don't use plugin-profiling to enable timings
The paper config has taken precidence over this for a long time
with 0 complaints, and now it's tripping the deprecation warning,
even if timings is disabled in the paper config.
2023-03-31 05:47:59 +01:00