aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/rosegoldaddons/commands/Backpack.java
diff options
context:
space:
mode:
authorRoseGoldIsntGay <yoavkau@gmail.com>2022-01-27 20:44:16 +0200
committerRoseGoldIsntGay <yoavkau@gmail.com>2022-01-27 20:44:16 +0200
commitf4b58abbda168b01513a5ac2ba2870bc00df7074 (patch)
tree2f237367764c74bba1f912acec1da281a2b74d24 /src/main/java/rosegoldaddons/commands/Backpack.java
parentfdc569f2ab7674d850d25b41519b4e3da244dd00 (diff)
downloadRGA-f4b58abbda168b01513a5ac2ba2870bc00df7074.tar.gz
RGA-f4b58abbda168b01513a5ac2ba2870bc00df7074.tar.bz2
RGA-f4b58abbda168b01513a5ac2ba2870bc00df7074.zip
2.7.0-pre2
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 {