mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-23 17:47:34 +01:00
Remove extraneous + in Commandfly
This commit is contained in:
parent
f42904e5ae
commit
1fed66d652
@ -28,7 +28,7 @@ public class Commandfly extends EssentialsToggleCommand {
|
||||
enabled = !user.getBase().getAllowFlight();
|
||||
}
|
||||
|
||||
+ final User controller = sender.isPlayer() ? ess.getUser(sender.getPlayer()) : null;
|
||||
final User controller = sender.isPlayer() ? ess.getUser(sender.getPlayer()) : null;
|
||||
FlyStatusChangeEvent event = new FlyStatusChangeEvent(user, controller, enabled);
|
||||
ess.getServer().getPluginManager().callEvent(event);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user