bugfixes
Dieser Commit ist enthalten in:
Ursprung
165fa46a12
Commit
d6ababec97
@ -59,7 +59,7 @@ public class EnderPearlListener implements Listener {
|
||||
@EventHandler(priority = EventPriority.NORMAL)
|
||||
public void handlePlayerTeleport(PlayerTeleportEvent event) {
|
||||
if(event.getCause() != PlayerTeleportEvent.TeleportCause.ENDER_PEARL) return;
|
||||
if(event.getTo().distance(event.getPlayer().getLocation()) > 0) return;
|
||||
if(event.getPlayer().isOnGround()/*event.getTo().distance(event.getPlayer().getLocation()) > 0*/) return;
|
||||
event.setCancelled(true);
|
||||
}
|
||||
|
||||
|
@ -16,7 +16,7 @@ import java.util.Collection;
|
||||
|
||||
public class ShieldListener implements Listener {
|
||||
|
||||
double radius = 2.0D;
|
||||
double radius = 1.5D;
|
||||
double multiplyer = 1.1D;
|
||||
float height = 1.0F;
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren