Reset fire state + remove now useless debug log

This commit is contained in:
jglrxavpok 2020-05-05 18:40:58 +02:00
parent 4f355f2a06
commit 0627d8d368
2 changed files with 2 additions and 1 deletions

View File

@ -528,6 +528,8 @@ public class Player extends LivingEntity {
if (!isDead())
return;
setFireForDuration(0);
setOnFire(false);
refreshHealth();
RespawnPacket respawnPacket = new RespawnPacket();
respawnPacket.dimension = getDimension();

View File

@ -20,7 +20,6 @@ import net.minestom.server.utils.BlockPosition;
public class PlayerDiggingListener {
public static void playerDiggingListener(ClientPlayerDiggingPacket packet, Player player) {
System.out.println(">> "+packet.status.name());
ClientPlayerDiggingPacket.Status status = packet.status;
BlockPosition blockPosition = packet.blockPosition;