mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-28 12:07:42 +01:00
Reset fire state + remove now useless debug log
This commit is contained in:
parent
4f355f2a06
commit
0627d8d368
@ -528,6 +528,8 @@ public class Player extends LivingEntity {
|
||||
if (!isDead())
|
||||
return;
|
||||
|
||||
setFireForDuration(0);
|
||||
setOnFire(false);
|
||||
refreshHealth();
|
||||
RespawnPacket respawnPacket = new RespawnPacket();
|
||||
respawnPacket.dimension = getDimension();
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user