From fb830a18c63b00f96ac0fe0aa29099dfe308aa67 Mon Sep 17 00:00:00 2001 From: CuzImClicks Date: Tue, 11 May 2021 16:17:12 +0200 Subject: removed unnecessary player --- src/main/java/me/Danker/commands/warp/Crypt.java | 1 - src/main/java/me/Danker/commands/warp/DarkAuction.java | 1 - src/main/java/me/Danker/commands/warp/Dragon.java | 1 - src/main/java/me/Danker/commands/warp/DungeonHub.java | 1 - src/main/java/me/Danker/commands/warp/HowlingCave.java | 1 - src/main/java/me/Danker/commands/warp/Magma.java | 1 - src/main/java/me/Danker/commands/warp/SpidersNest.java | 1 - 7 files changed, 7 deletions(-) (limited to 'src/main/java/me') diff --git a/src/main/java/me/Danker/commands/warp/Crypt.java b/src/main/java/me/Danker/commands/warp/Crypt.java index 463330a..fd91790 100644 --- a/src/main/java/me/Danker/commands/warp/Crypt.java +++ b/src/main/java/me/Danker/commands/warp/Crypt.java @@ -38,7 +38,6 @@ public class Crypt extends CommandBase { @Override public void processCommand(ICommandSender sender, String[] args) throws CommandException { if (!Utils.inSkyblock) return; - EntityPlayer player = ((EntityPlayer) sender); Minecraft.getMinecraft().thePlayer.sendChatMessage("/warp crypt"); } } diff --git a/src/main/java/me/Danker/commands/warp/DarkAuction.java b/src/main/java/me/Danker/commands/warp/DarkAuction.java index 88655f1..d2cffe9 100644 --- a/src/main/java/me/Danker/commands/warp/DarkAuction.java +++ b/src/main/java/me/Danker/commands/warp/DarkAuction.java @@ -39,7 +39,6 @@ public class DarkAuction extends CommandBase { @Override public void processCommand(ICommandSender sender, String[] args) throws CommandException { if (!Utils.inSkyblock) return; - EntityPlayer player = ((EntityPlayer) sender); Minecraft.getMinecraft().thePlayer.sendChatMessage("/warp da"); } } diff --git a/src/main/java/me/Danker/commands/warp/Dragon.java b/src/main/java/me/Danker/commands/warp/Dragon.java index 05be968..a0cf9ab 100644 --- a/src/main/java/me/Danker/commands/warp/Dragon.java +++ b/src/main/java/me/Danker/commands/warp/Dragon.java @@ -39,7 +39,6 @@ public class Dragon extends CommandBase { @Override public void processCommand(ICommandSender sender, String[] args) throws CommandException { if (!Utils.inSkyblock) return; - EntityPlayer player = ((EntityPlayer) sender); Minecraft.getMinecraft().thePlayer.sendChatMessage("/warp drag"); } } diff --git a/src/main/java/me/Danker/commands/warp/DungeonHub.java b/src/main/java/me/Danker/commands/warp/DungeonHub.java index 201e764..3031fec 100644 --- a/src/main/java/me/Danker/commands/warp/DungeonHub.java +++ b/src/main/java/me/Danker/commands/warp/DungeonHub.java @@ -39,7 +39,6 @@ public class DungeonHub extends CommandBase { @Override public void processCommand(ICommandSender sender, String[] args) throws CommandException { if (!Utils.inSkyblock) return; - EntityPlayer player = ((EntityPlayer) sender); Minecraft.getMinecraft().thePlayer.sendChatMessage("/warp dungeon_hub"); } } diff --git a/src/main/java/me/Danker/commands/warp/HowlingCave.java b/src/main/java/me/Danker/commands/warp/HowlingCave.java index 58e4ce7..1d45ada 100644 --- a/src/main/java/me/Danker/commands/warp/HowlingCave.java +++ b/src/main/java/me/Danker/commands/warp/HowlingCave.java @@ -38,7 +38,6 @@ public class HowlingCave extends CommandBase { @Override public void processCommand(ICommandSender sender, String[] args) throws CommandException { if (!Utils.inSkyblock) return; - EntityPlayer player = ((EntityPlayer) sender); Minecraft.getMinecraft().thePlayer.sendChatMessage("/warp howl"); } } diff --git a/src/main/java/me/Danker/commands/warp/Magma.java b/src/main/java/me/Danker/commands/warp/Magma.java index 5e747c3..4f7459d 100644 --- a/src/main/java/me/Danker/commands/warp/Magma.java +++ b/src/main/java/me/Danker/commands/warp/Magma.java @@ -38,7 +38,6 @@ public class Magma extends CommandBase { @Override public void processCommand(ICommandSender sender, String[] args) throws CommandException { if (!Utils.inSkyblock) return; - EntityPlayer player = ((EntityPlayer) sender); Minecraft.getMinecraft().thePlayer.sendChatMessage("/warp magma"); } } diff --git a/src/main/java/me/Danker/commands/warp/SpidersNest.java b/src/main/java/me/Danker/commands/warp/SpidersNest.java index cf80df8..ecea275 100644 --- a/src/main/java/me/Danker/commands/warp/SpidersNest.java +++ b/src/main/java/me/Danker/commands/warp/SpidersNest.java @@ -38,7 +38,6 @@ public class SpidersNest extends CommandBase { @Override public void processCommand(ICommandSender sender, String[] args) throws CommandException { if (!Utils.inSkyblock) return; - EntityPlayer player = ((EntityPlayer) sender); Minecraft.getMinecraft().thePlayer.sendChatMessage("/warp nest"); } } -- cgit