[Classic] Unused items removal, Newbie buffers and more misc changes.

This commit is contained in:
MobiusDev
2015-05-05 10:29:26 +00:00
parent cbdd79b06f
commit a62f969c94
2275 changed files with 2337 additions and 858177 deletions

View File

@ -25,6 +25,7 @@ import java.util.logging.Level;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import com.l2jserver.Config;
import com.l2jserver.gameserver.model.items.instance.L2ItemInstance;
import com.l2jserver.gameserver.model.options.EnchantOptions;
import com.l2jserver.gameserver.util.Util;
@ -46,6 +47,12 @@ public class EnchantItemOptionsData implements IXmlReader
public synchronized void load()
{
_data.clear();
if (Config.SERVER_CLASSIC_SUPPORT)
{
return;
}
parseDatapackFile("enchantItemOptions.xml");
}