From e18001824bc2242cb22f8733eff02053c0468b4a Mon Sep 17 00:00:00 2001 From: Yaruma3341 Date: Sun, 19 Jan 2020 19:28:41 +0100 Subject: [PATCH] bugfixes --- src/de/steamwar/lobby/listener/EnderPearlListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/lobby/listener/EnderPearlListener.java b/src/de/steamwar/lobby/listener/EnderPearlListener.java index d58e0ac..b486cf2 100644 --- a/src/de/steamwar/lobby/listener/EnderPearlListener.java +++ b/src/de/steamwar/lobby/listener/EnderPearlListener.java @@ -66,6 +66,7 @@ public class EnderPearlListener implements Listener { @EventHandler public void handleProjectileHit(ProjectileHitEvent event) { + Bukkit.broadcastMessage("22wewq"); Entity entity = event.getEntity(); if(entity.getType() != EntityType.ENDER_PEARL) return; @@ -73,7 +74,6 @@ public class EnderPearlListener implements Listener { return; Player player = (Player) entity; player.teleport(event.getHitBlock().getLocation().add(0.0D, 1.0D, 0.0D)); - player.sendMessage("22wewq"); }