9
0
mirror of https://github.com/BX-Team/DivineMC.git synced 2025-12-23 16:59:24 +00:00

start 1.21.11 update, applied api and sources

This commit is contained in:
NONPLAYT
2025-12-09 20:55:34 +03:00
parent 1509419aa6
commit db321535bd
29 changed files with 85 additions and 101 deletions

View File

@@ -1,10 +1,10 @@
--- a/net/minecraft/server/level/ServerPlayer.java
+++ b/net/minecraft/server/level/ServerPlayer.java
@@ -2345,6 +_,7 @@
@@ -2380,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();
this.stopUsingItem();
EnchantmentHelper.stopLocationBasedEffects(this);
} else {