Skip to content

Commit 097cc88

Browse files
committed
Change autofishing
Changed auto fishing sub command and main command to better parity other commands
1 parent c265dd0 commit 097cc88

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/main/java/us/thezircon/play/autopickup/AutoPickup.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public void onEnable() {
158158
// Commands
159159
getCommand("autopickup").setExecutor(new Auto());
160160
getCommand("autodrops").setExecutor(new AutoDrops());
161-
getCommand("autofishingdrops").setExecutor(new AutoFishingDrops());
161+
getCommand("autofish").setExecutor(new AutoFishingDrops());
162162
getCommand("autosmelt").setExecutor(new AutoSmelt());
163163

164164
// Crops by version

src/main/java/us/thezircon/play/autopickup/commands/AutoPickup/Auto.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import org.bukkit.entity.Player;
88
import us.thezircon.play.autopickup.AutoPickup;
99
import us.thezircon.play.autopickup.commands.AutoPickup.subcommands.drops;
10-
import us.thezircon.play.autopickup.commands.AutoPickup.subcommands.fishingdrops;
10+
import us.thezircon.play.autopickup.commands.AutoPickup.subcommands.fishing;
1111
import us.thezircon.play.autopickup.commands.AutoPickup.subcommands.reload;
1212
import us.thezircon.play.autopickup.commands.AutoPickup.subcommands.smelt;
1313
import us.thezircon.play.autopickup.commands.CMDManager;
@@ -25,7 +25,7 @@ public class Auto implements TabExecutor{
2525
public Auto(){
2626
subcommands.add(new reload());
2727
subcommands.add(new drops());
28-
subcommands.add(new fishingdrops());
28+
subcommands.add(new fishing());
2929
subcommands.add(new smelt());
3030
}
3131

src/main/java/us/thezircon/play/autopickup/commands/AutoPickup/subcommands/fishingdrops.java renamed to src/main/java/us/thezircon/play/autopickup/commands/AutoPickup/subcommands/fishing.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88

99
import java.util.List;
1010

11-
public class fishingdrops extends CMDManager {
11+
public class fishing extends CMDManager {
1212

1313
private static final AutoPickup PLUGIN = AutoPickup.getPlugin(AutoPickup.class);
1414

1515
@Override
1616
public String getName() {
17-
return "fishingdrops";
17+
return "fishing";
1818
}
1919

2020
@Override
@@ -24,7 +24,7 @@ public String getDescription() {
2424

2525
@Override
2626
public String getSyntax() {
27-
return "/auto fishingdrops";
27+
return "/auto fishing";
2828
}
2929

3030
@Override

src/main/resources/plugin.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ commands:
1515
autodrops:
1616
description: Toggles the ability to automaticly pickup drops from killed entities.
1717
aliases: [drops, autod]
18-
autofishingdrops:
18+
autofish:
1919
description: Toggles the ability to automaticly pickup drops from fishing.
20-
aliases: [fishingdrops, autofd]
20+
aliases: [fishingdrops, autofd, autofishingdrops]
2121
autosmelt:
2222
description: Toggles the ability to automaticly smelt mined blocks.
2323
aliases: [asmelt]

0 commit comments

Comments
 (0)