*Bug fixes
This commit is contained in:
@@ -319,7 +319,7 @@ public class TeamCommands implements CommandExecutor {
|
||||
}
|
||||
|
||||
} else if (cmd.getName().equalsIgnoreCase("toggleBoatFlight")) {
|
||||
if (P.hasPermission("core.boat.toggleflight")) {
|
||||
if (P != null && P.hasPermission("core.boat.toggleflight")) {
|
||||
if (Features.wantFlight.contains(P.getUniqueId())) {
|
||||
Features.wantFlight.remove(P.getUniqueId());
|
||||
P.sendMessage("Du wurdest aus der Liste entfernt!");
|
||||
|
||||
Reference in New Issue
Block a user