mirror of https://github.com/cabaletta/baritone
Merge pull request #3325 from wagyourtail/1.17.1
move death event to work with `doImmediateRespawn` gamerule
This commit is contained in:
commit
384dfb5f46
|
@ -175,7 +175,7 @@ public class MixinClientPlayNetHandler {
|
|||
method = "handlePlayerCombatKill",
|
||||
at = @At(
|
||||
value = "INVOKE",
|
||||
target = "Lnet/minecraft/client/Minecraft;setScreen(Lnet/minecraft/client/gui/screens/Screen;)V"
|
||||
target = "Lnet/minecraft/client/player/LocalPlayer;shouldShowDeathScreen()Z"
|
||||
)
|
||||
)
|
||||
private void onPlayerDeath(ClientboundPlayerCombatKillPacket packetIn, CallbackInfo ci) {
|
||||
|
|
Loading…
Reference in New Issue