mirror of
https://github.com/BX-Team/DivineMC.git
synced 2025-12-19 23:09:26 +00:00
Upstream has released updates that appear to apply and compile correctly Purpur Changes: PurpurMC/Purpur@8c77678e Updated Upstream (Paper)
11 lines
543 B
Diff
11 lines
543 B
Diff
--- a/net/minecraft/server/level/ServerPlayer.java
|
|
+++ b/net/minecraft/server/level/ServerPlayer.java
|
|
@@ -2185,6 +_,7 @@
|
|
this.connection.send(new ClientboundGameEventPacket(ClientboundGameEventPacket.CHANGE_GAME_MODE, gameMode.getId()));
|
|
if (gameMode == GameType.SPECTATOR) {
|
|
this.removeEntitiesOnShoulder();
|
|
+ this.stopSleeping(); // DivineMC - Fix MC-119417
|
|
this.stopRiding();
|
|
EnchantmentHelper.stopLocationBasedEffects(this);
|
|
} else {
|