Skip to content
This repository has been archived by the owner on Oct 30, 2021. It is now read-only.

Fix for block broken status not being sent #285

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ONetServerHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ public void a(OPacket14BlockDig paramOPacket14BlockDig) {
} else if (paramOPacket14BlockDig.e == 2) {
// hMod: Stop digging
Block block = etc.getServer().getBlockAt(i1, i2, i3);
block.setStatus(2); // Stopped digging
block.setStatus(3); // Stopped digging , old: 2
OEntity.manager.callHook(PluginLoader.Hook.BLOCK_DESTROYED, player, block);

e.c.b(i1, i2, i3);
Expand Down