aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/rosegoldaddons/commands/Backpack.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/rosegoldaddons/commands/Backpack.java')
-rw-r--r--src/main/java/rosegoldaddons/commands/Backpack.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/rosegoldaddons/commands/Backpack.java b/src/main/java/rosegoldaddons/commands/Backpack.java
index 24b7563..015913d 100644
--- a/src/main/java/rosegoldaddons/commands/Backpack.java
+++ b/src/main/java/rosegoldaddons/commands/Backpack.java
@@ -44,10 +44,10 @@ public class Backpack implements ICommand {
@Override
public void processCommand(ICommandSender sender, String[] args) throws CommandException {
if (args.length == 0) {
- Minecraft.getMinecraft().thePlayer.sendChatMessage("/storage");
+ Main.mc.thePlayer.sendChatMessage("/storage");
} else {
if (isNumeric(args[0])) {
- Minecraft.getMinecraft().thePlayer.sendChatMessage("/storage");
+ Main.mc.thePlayer.sendChatMessage("/storage");
openBP = true;
bpSlot = Integer.parseInt(args[0]);
} else {