bugfixes
Dieser Commit ist enthalten in:
Ursprung
db8899554a
Commit
e18001824b
@ -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");
|
||||
}
|
||||
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren