mirror of
https://github.com/hyperdefined/ToolStats.git
synced 2025-12-10 06:34:59 +00:00
fixes
This commit is contained in:
@@ -44,6 +44,9 @@ public class BlocksMined implements Listener {
|
||||
|
||||
@EventHandler
|
||||
public void onBreak(BlockBreakEvent event) {
|
||||
if (event.isCancelled()) {
|
||||
return;
|
||||
}
|
||||
Player player = event.getPlayer();
|
||||
if (player.getGameMode() != GameMode.SURVIVAL) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user