bugfixes
Dieser Commit ist enthalten in:
Ursprung
b56b4577aa
Commit
53aa5e1c54
@ -22,7 +22,7 @@ public class ShieldCommand implements CommandExecutor {
|
||||
if(userGroup != UserGroup.Developer &&
|
||||
userGroup != UserGroup.Moderator &&
|
||||
userGroup != UserGroup.Admin &&
|
||||
userGroup != UserGroup.Supporter) {
|
||||
userGroup != UserGroup.Youtuber) {
|
||||
player.sendMessage("§cDu verfügst nicht über die benötigten Rechte!");
|
||||
return false;
|
||||
}
|
||||
|
@ -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.getPlayer().isInsideVehicle()/*event.getTo().distance(event.getPlayer().getLocation()) > 0*/) return;
|
||||
if(event.getPlayer().isInsideVehicle()) return;
|
||||
event.setCancelled(true);
|
||||
}
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren