Skip to content

Commit

Permalink
Missed a debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
drfiveminusmint committed Sep 12, 2024
1 parent 28eec3e commit e7f0982
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

package net.countercraft.movecraft.listener;

import net.countercraft.movecraft.Movecraft;
import net.countercraft.movecraft.MovecraftLocation;
import net.countercraft.movecraft.config.Settings;
import net.countercraft.movecraft.craft.Craft;
Expand Down Expand Up @@ -45,8 +44,6 @@
import org.bukkit.util.Vector;
import org.jetbrains.annotations.NotNull;

import java.util.logging.Level;

public class BlockListener implements Listener {
@EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
public void onBlockBreak(@NotNull BlockBreakEvent e) {
Expand Down Expand Up @@ -113,7 +110,6 @@ public void onRedstoneEvent(@NotNull BlockRedstoneEvent e) {
if (craft.isNotProcessing() || !craft.getHitBox().contains(loc))
continue;

Movecraft.getInstance().getLogger().log(Level.INFO,"Ran onRedstoneEvent");
e.setNewCurrent(e.getOldCurrent()); // don't allow piston movement on cruising crafts
return;
}
Expand Down

0 comments on commit e7f0982

Please sign in to comment.