mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-29 20:48:08 +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())
|
if (!isDead())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
setFireForDuration(0);
|
||||||
|
setOnFire(false);
|
||||||
refreshHealth();
|
refreshHealth();
|
||||||
RespawnPacket respawnPacket = new RespawnPacket();
|
RespawnPacket respawnPacket = new RespawnPacket();
|
||||||
respawnPacket.dimension = getDimension();
|
respawnPacket.dimension = getDimension();
|
||||||
|
@ -20,7 +20,6 @@ import net.minestom.server.utils.BlockPosition;
|
|||||||
public class PlayerDiggingListener {
|
public class PlayerDiggingListener {
|
||||||
|
|
||||||
public static void playerDiggingListener(ClientPlayerDiggingPacket packet, Player player) {
|
public static void playerDiggingListener(ClientPlayerDiggingPacket packet, Player player) {
|
||||||
System.out.println(">> "+packet.status.name());
|
|
||||||
ClientPlayerDiggingPacket.Status status = packet.status;
|
ClientPlayerDiggingPacket.Status status = packet.status;
|
||||||
BlockPosition blockPosition = packet.blockPosition;
|
BlockPosition blockPosition = packet.blockPosition;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user