Sync with L2JServer Jan 24th 2015.
This commit is contained in:
@@ -29,9 +29,9 @@ import javolution.util.FastMap;
|
||||
|
||||
import com.l2jserver.Config;
|
||||
import com.l2jserver.gameserver.cache.HtmCache;
|
||||
import com.l2jserver.gameserver.datatables.DoorTable;
|
||||
import com.l2jserver.gameserver.data.xml.impl.DoorData;
|
||||
import com.l2jserver.gameserver.data.xml.impl.NpcData;
|
||||
import com.l2jserver.gameserver.datatables.ItemTable;
|
||||
import com.l2jserver.gameserver.datatables.NpcData;
|
||||
import com.l2jserver.gameserver.datatables.SkillData;
|
||||
import com.l2jserver.gameserver.datatables.SpawnTable;
|
||||
import com.l2jserver.gameserver.instancemanager.AntiFeedManager;
|
||||
@@ -386,7 +386,7 @@ public class TvTEvent
|
||||
PcInventory inv = playerInstance.getInventory();
|
||||
|
||||
// Check for stackable item, non stackabe items need to be added one by one
|
||||
if (ItemTable.getInstance().createDummyItem(reward[0]).isStackable())
|
||||
if (ItemTable.getInstance().getTemplate(reward[0]).isStackable())
|
||||
{
|
||||
inv.addItem("TvT Event", reward[0], reward[1], playerInstance, playerInstance);
|
||||
|
||||
@@ -587,7 +587,7 @@ public class TvTEvent
|
||||
L2DoorInstance door = null;
|
||||
if (_TvTEventInstance <= 0)
|
||||
{
|
||||
door = DoorTable.getInstance().getDoor(doorId);
|
||||
door = DoorData.getInstance().getDoor(doorId);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user