aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/rosegoldaddons/commands/LobbySwap.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/rosegoldaddons/commands/LobbySwap.java')
-rw-r--r--src/main/java/rosegoldaddons/commands/LobbySwap.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/rosegoldaddons/commands/LobbySwap.java b/src/main/java/rosegoldaddons/commands/LobbySwap.java
index 517354b..8fd5312 100644
--- a/src/main/java/rosegoldaddons/commands/LobbySwap.java
+++ b/src/main/java/rosegoldaddons/commands/LobbySwap.java
@@ -6,6 +6,7 @@ import net.minecraft.command.ICommand;
import net.minecraft.command.ICommandSender;
import net.minecraft.util.BlockPos;
import org.jetbrains.annotations.NotNull;
+import rosegoldaddons.Main;
import java.util.ArrayList;
import java.util.List;
@@ -31,7 +32,7 @@ public class LobbySwap implements ICommand {
@Override
public void processCommand(ICommandSender sender, String[] args) throws CommandException {
swapLobby = true;
- Minecraft.getMinecraft().thePlayer.sendChatMessage("/sbmenu");
+ Main.mc.thePlayer.sendChatMessage("/sbmenu");
}