diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminReload.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminReload.java index da04c3f76c..39cb23b09a 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminReload.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminReload.java @@ -28,7 +28,6 @@ import org.l2jmobius.gameserver.datatables.sql.NpcTable; import org.l2jmobius.gameserver.datatables.sql.TeleportLocationTable; import org.l2jmobius.gameserver.datatables.xml.WalkerRouteData; import org.l2jmobius.gameserver.handler.IAdminCommandHandler; -import org.l2jmobius.gameserver.instancemanager.DatatablesManager; import org.l2jmobius.gameserver.instancemanager.QuestManager; import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; import org.l2jmobius.gameserver.model.multisell.Multisell; @@ -112,12 +111,6 @@ public class AdminReload implements IAdminCommandHandler sendReloadPage(activeChar); BuilderUtil.sendSysMessage(activeChar, "Quests Reloaded."); } - else if (type.startsWith("npcbuffers")) - { - DatatablesManager.reloadAll(); - sendReloadPage(activeChar); - BuilderUtil.sendSysMessage(activeChar, "All Buffer skills tables have been reloaded"); - } else if (type.equals("configs")) { Config.load(ServerMode.GAME); @@ -130,19 +123,6 @@ public class AdminReload implements IAdminCommandHandler sendReloadPage(activeChar); BuilderUtil.sendSysMessage(activeChar, "TradeList Table reloaded."); } - else if (type.equals("dbs")) - { - DatatablesManager.reloadAll(); - sendReloadPage(activeChar); - BuilderUtil.sendSysMessage(activeChar, "BufferSkillsTable reloaded."); - BuilderUtil.sendSysMessage(activeChar, "NpcBufferSkillIdsTable reloaded."); - BuilderUtil.sendSysMessage(activeChar, "AccessLevels reloaded."); - BuilderUtil.sendSysMessage(activeChar, "AdminCommandAccessRights reloaded."); - BuilderUtil.sendSysMessage(activeChar, "GmListTable reloaded."); - BuilderUtil.sendSysMessage(activeChar, "ClanTable reloaded."); - BuilderUtil.sendSysMessage(activeChar, "AugmentationData reloaded."); - BuilderUtil.sendSysMessage(activeChar, "HelperBuffTable reloaded."); - } BuilderUtil.sendSysMessage(activeChar, "WARNING: There are several known issues regarding this feature. Reloading server data during runtime is STRONGLY NOT RECOMMENDED for live servers, just for developing environments."); } catch (Exception e) diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/instancemanager/DatatablesManager.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/instancemanager/DatatablesManager.java deleted file mode 100644 index b94f5e3ae9..0000000000 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/instancemanager/DatatablesManager.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * This file is part of the L2J Mobius project. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package org.l2jmobius.gameserver.instancemanager; - -import org.l2jmobius.gameserver.datatables.sql.ClanTable; -import org.l2jmobius.gameserver.datatables.sql.HelperBuffTable; -import org.l2jmobius.gameserver.datatables.xml.AdminData; -import org.l2jmobius.gameserver.datatables.xml.AugmentationData; -import org.l2jmobius.gameserver.datatables.xml.ExperienceData; - -public class DatatablesManager -{ - public static void reloadAll() - { - AdminData.getInstance().load(); - AugmentationData.getInstance().load(); - ClanTable.getInstance().load(); - HelperBuffTable.getInstance().load(); - ExperienceData.getInstance().load(); - } -}