@@ -31,7 +31,7 @@ public class Items implements CommandExecutor {
|
||||
|
||||
CommandExecutor handler;
|
||||
switch (args[0]) {
|
||||
case "witherite" -> handler = new Witherite();
|
||||
case "witherite" -> handler = new WitheriteGear();
|
||||
case "lightning" -> handler = new LightningSword();
|
||||
case "steven" -> handler = new StevensWrath();
|
||||
case "blazing" -> handler = new BlazingGear();
|
||||
@@ -47,7 +47,7 @@ public class Items implements CommandExecutor {
|
||||
|
||||
public Items(JavaPlugin plugin) {
|
||||
|
||||
Witherite witherite = new Witherite();
|
||||
WitheriteGear witherite = new WitheriteGear();
|
||||
witherite.registerRecipes();
|
||||
witherite.registerEvents(plugin);
|
||||
|
||||
|
||||
+2
-2
@@ -21,7 +21,7 @@ import java.util.Objects;
|
||||
|
||||
import static org.bukkit.Bukkit.getServer;
|
||||
|
||||
public class Witherite extends GenericGearSet implements Listener, CommandExecutor {
|
||||
public class WitheriteGear extends GenericGearSet implements Listener, CommandExecutor {
|
||||
private ArrayList<Player> cooldown = new ArrayList<>();
|
||||
|
||||
@Override
|
||||
@@ -141,7 +141,7 @@ public class Witherite extends GenericGearSet implements Listener, CommandExecut
|
||||
|
||||
public static void init() {}
|
||||
|
||||
public Witherite() {
|
||||
public WitheriteGear() {
|
||||
this.setTier5();
|
||||
this.sword.name = "Witherite Sword";
|
||||
this.sword.customItemModel = "witherite_sword";
|
||||
Reference in New Issue
Block a user