Remove extraneous + in Commandfly

This commit is contained in:
md678685 2016-08-27 10:01:26 +01:00 committed by GitHub
parent f42904e5ae
commit 1fed66d652

View File

@ -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);