Remove debug

This commit is contained in:
tastybento 2024-08-31 08:16:32 -07:00
parent 28457aba52
commit debcd2c331

View File

@ -42,8 +42,6 @@ public class EntityInteractListener extends FlagListener {
@EventHandler(priority = EventPriority.NORMAL, ignoreCancelled = true) @EventHandler(priority = EventPriority.NORMAL, ignoreCancelled = true)
public void onPlayerInteractEntity(PlayerInteractEntityEvent e) public void onPlayerInteractEntity(PlayerInteractEntityEvent e)
{ {
System.out.println(e.getEventName());
System.out.println(e.getRightClicked());
Player p = e.getPlayer(); Player p = e.getPlayer();
Location l = e.getRightClicked().getLocation(); Location l = e.getRightClicked().getLocation();
@ -84,7 +82,6 @@ public class EntityInteractListener extends FlagListener {
} }
else if (e.getRightClicked() instanceof Villager && !(e.getRightClicked() instanceof WanderingTrader)) else if (e.getRightClicked() instanceof Villager && !(e.getRightClicked() instanceof WanderingTrader))
{ {
System.out.println("Villager trading");
// Villager trading // Villager trading
// Check naming and check trading // Check naming and check trading
this.checkIsland(e, p, l, Flags.TRADING); this.checkIsland(e, p, l, Flags.TRADING);
@ -107,7 +104,6 @@ public class EntityInteractListener extends FlagListener {
} }
else if (e.getPlayer().getInventory().getItemInMainHand().getType().equals(Material.NAME_TAG)) else if (e.getPlayer().getInventory().getItemInMainHand().getType().equals(Material.NAME_TAG))
{ {
System.out.println("name tag");
// Name tags // Name tags
this.checkIsland(e, p, l, Flags.NAME_TAG); this.checkIsland(e, p, l, Flags.NAME_TAG);
} }