Skip to content

Commit

Permalink
make checkstyle happy
Browse files Browse the repository at this point in the history
  • Loading branch information
TehBrian committed Oct 2, 2023
1 parent f8d9de0 commit 5f16a37
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public WorldEditAliases(
* @param commandManager the command manager
* @param isFawe whether the WorldEdit plugin is FastAsyncWorldEdit
*/
public void register(final PaperCommandManager<CommandSender> commandManager, boolean isFawe) {
public void register(final PaperCommandManager<CommandSender> commandManager, final boolean isFawe) {
if (!isFawe) {
commandManager.command(commandManager.commandBuilder("/p1", "/1")
.meta(CommandMeta.DESCRIPTION, "WorldEdit alias.")
Expand Down Expand Up @@ -133,6 +133,7 @@ public void register(final PaperCommandManager<CommandSender> commandManager, bo
case X -> this.dispatch(sender, "/deform rotate(y,z," + radians + ")");
case Y -> this.dispatch(sender, "/deform rotate(x,z," + radians + ")");
case Z -> this.dispatch(sender, "/deform rotate(x,y," + radians + ")");
default -> {}
}
}));

Expand All @@ -149,6 +150,7 @@ public void register(final PaperCommandManager<CommandSender> commandManager, bo
case X -> this.dispatch(sender, "/deform rotate(y,z," + radians / 2 + "*(x+1))");
case Y -> this.dispatch(sender, "/deform rotate(x,z," + radians / 2 + "*(y+1))");
case Z -> this.dispatch(sender, "/deform rotate(x,y," + radians / 2 + "*(z+1))");
default -> {}
}
}));

Expand Down

0 comments on commit 5f16a37

Please sign in to comment.