diff --git a/src/com/projectkorra/projectkorra/GeneralMethods.java b/src/com/projectkorra/projectkorra/GeneralMethods.java index 5fe8ca43..6dc382be 100644 --- a/src/com/projectkorra/projectkorra/GeneralMethods.java +++ b/src/com/projectkorra/projectkorra/GeneralMethods.java @@ -1846,7 +1846,7 @@ public class GeneralMethods { DBConnection.sql.modifyQuery("UPDATE pk_players SET slot" + slot + " = '" + (abilities[slot - 1] == null ? null : abilities[slot - 1]) + "' WHERE uuid = '" + uuid + "'"); } - public static void saveElementsNew(final BendingPlayer bPlayer, List e) { + public static void saveElements(final BendingPlayer bPlayer, List e) { if (bPlayer == null) { return; } diff --git a/src/com/projectkorra/projectkorra/command/AddCommand.java b/src/com/projectkorra/projectkorra/command/AddCommand.java index ed7f6da2..a6fc4469 100644 --- a/src/com/projectkorra/projectkorra/command/AddCommand.java +++ b/src/com/projectkorra/projectkorra/command/AddCommand.java @@ -118,7 +118,7 @@ public class AddCommand extends PKCommand { } } if (added.size() > 0) { - GeneralMethods.saveElementsNew(bPlayer, added); + GeneralMethods.saveElements(bPlayer, added); if (!(sender instanceof Player) || !((Player) sender).equals(target)) { GeneralMethods.sendBrandingMessage(sender, ChatColor.YELLOW + this.addedOtherAll.replace("{target}", ChatColor.DARK_AQUA + target.getName() + ChatColor.YELLOW) + elements); @@ -210,7 +210,7 @@ public class AddCommand extends PKCommand { if (added.size() == 1) { GeneralMethods.saveElement(bPlayer, added.get(0)); } else { - GeneralMethods.saveElementsNew(bPlayer, added); + GeneralMethods.saveElements(bPlayer, added); } for (Element elem : added) {