aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/commands/ScreenCommand.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/commands/ScreenCommand.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/commands/ScreenCommand.java26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/commands/ScreenCommand.java b/src/main/java/io/github/moulberry/notenoughupdates/commands/ScreenCommand.java
index 483e8bac..29dd9d55 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/commands/ScreenCommand.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/commands/ScreenCommand.java
@@ -7,20 +7,20 @@ import net.minecraft.command.ICommandSender;
public class ScreenCommand extends ClientCommandBase {
- private final ScreenOpener opener;
+ private final ScreenOpener opener;
- protected ScreenCommand(String name, ScreenOpener opener) {
- super(name);
- this.opener = opener;
- }
+ protected ScreenCommand(String name, ScreenOpener opener) {
+ super(name);
+ this.opener = opener;
+ }
- @Override
- public void processCommand(ICommandSender sender, String[] args) throws CommandException {
- NotEnoughUpdates.INSTANCE.openGui = opener.open();
- }
+ @Override
+ public void processCommand(ICommandSender sender, String[] args) throws CommandException {
+ NotEnoughUpdates.INSTANCE.openGui = opener.open();
+ }
- @FunctionalInterface
- public interface ScreenOpener {
- GuiScreen open();
- }
+ @FunctionalInterface
+ public interface ScreenOpener {
+ GuiScreen open();
+ }
}