Enable items on pet inventory.
This commit is contained in:
@@ -1773,7 +1773,13 @@ public final class L2ItemInstance extends L2Object
|
|||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
final L2PcInstance owner = getActingPlayer();
|
if ((_loc == ItemLocation.PET) || (_loc == ItemLocation.PET_EQUIP))
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
L2Character owner = getActingPlayer();
|
||||||
|
if (owner != null)
|
||||||
|
{
|
||||||
for (Condition condition : _item.getConditions())
|
for (Condition condition : _item.getConditions())
|
||||||
{
|
{
|
||||||
if (condition == null)
|
if (condition == null)
|
||||||
@@ -1791,6 +1797,7 @@ public final class L2ItemInstance extends L2Object
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1788,7 +1788,13 @@ public final class L2ItemInstance extends L2Object
|
|||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
final L2PcInstance owner = getActingPlayer();
|
if ((_loc == ItemLocation.PET) || (_loc == ItemLocation.PET_EQUIP))
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
L2Character owner = getActingPlayer();
|
||||||
|
if (owner != null)
|
||||||
|
{
|
||||||
for (Condition condition : _item.getConditions())
|
for (Condition condition : _item.getConditions())
|
||||||
{
|
{
|
||||||
if (condition == null)
|
if (condition == null)
|
||||||
@@ -1806,6 +1812,7 @@ public final class L2ItemInstance extends L2Object
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1788,7 +1788,13 @@ public final class L2ItemInstance extends L2Object
|
|||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
final L2PcInstance owner = getActingPlayer();
|
if ((_loc == ItemLocation.PET) || (_loc == ItemLocation.PET_EQUIP))
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
L2Character owner = getActingPlayer();
|
||||||
|
if (owner != null)
|
||||||
|
{
|
||||||
for (Condition condition : _item.getConditions())
|
for (Condition condition : _item.getConditions())
|
||||||
{
|
{
|
||||||
if (condition == null)
|
if (condition == null)
|
||||||
@@ -1806,6 +1812,7 @@ public final class L2ItemInstance extends L2Object
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1790,7 +1790,13 @@ public final class L2ItemInstance extends L2Object
|
|||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
final L2PcInstance owner = getActingPlayer();
|
if ((_loc == ItemLocation.PET) || (_loc == ItemLocation.PET_EQUIP))
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
L2Character owner = getActingPlayer();
|
||||||
|
if (owner != null)
|
||||||
|
{
|
||||||
for (Condition condition : _item.getConditions())
|
for (Condition condition : _item.getConditions())
|
||||||
{
|
{
|
||||||
if (condition == null)
|
if (condition == null)
|
||||||
@@ -1808,6 +1814,7 @@ public final class L2ItemInstance extends L2Object
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1790,7 +1790,13 @@ public final class L2ItemInstance extends L2Object
|
|||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
final L2PcInstance owner = getActingPlayer();
|
if ((_loc == ItemLocation.PET) || (_loc == ItemLocation.PET_EQUIP))
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
L2Character owner = getActingPlayer();
|
||||||
|
if (owner != null)
|
||||||
|
{
|
||||||
for (Condition condition : _item.getConditions())
|
for (Condition condition : _item.getConditions())
|
||||||
{
|
{
|
||||||
if (condition == null)
|
if (condition == null)
|
||||||
@@ -1808,6 +1814,7 @@ public final class L2ItemInstance extends L2Object
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1790,7 +1790,13 @@ public final class L2ItemInstance extends L2Object
|
|||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
final L2PcInstance owner = getActingPlayer();
|
if ((_loc == ItemLocation.PET) || (_loc == ItemLocation.PET_EQUIP))
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
L2Character owner = getActingPlayer();
|
||||||
|
if (owner != null)
|
||||||
|
{
|
||||||
for (Condition condition : _item.getConditions())
|
for (Condition condition : _item.getConditions())
|
||||||
{
|
{
|
||||||
if (condition == null)
|
if (condition == null)
|
||||||
@@ -1808,6 +1814,7 @@ public final class L2ItemInstance extends L2Object
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1790,7 +1790,13 @@ public final class L2ItemInstance extends L2Object
|
|||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
final L2PcInstance owner = getActingPlayer();
|
if ((_loc == ItemLocation.PET) || (_loc == ItemLocation.PET_EQUIP))
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
L2Character owner = getActingPlayer();
|
||||||
|
if (owner != null)
|
||||||
|
{
|
||||||
for (Condition condition : _item.getConditions())
|
for (Condition condition : _item.getConditions())
|
||||||
{
|
{
|
||||||
if (condition == null)
|
if (condition == null)
|
||||||
@@ -1808,6 +1814,7 @@ public final class L2ItemInstance extends L2Object
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1788,7 +1788,13 @@ public final class L2ItemInstance extends L2Object
|
|||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
final L2PcInstance owner = getActingPlayer();
|
if ((_loc == ItemLocation.PET) || (_loc == ItemLocation.PET_EQUIP))
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
L2Character owner = getActingPlayer();
|
||||||
|
if (owner != null)
|
||||||
|
{
|
||||||
for (Condition condition : _item.getConditions())
|
for (Condition condition : _item.getConditions())
|
||||||
{
|
{
|
||||||
if (condition == null)
|
if (condition == null)
|
||||||
@@ -1806,6 +1812,7 @@ public final class L2ItemInstance extends L2Object
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1788,7 +1788,13 @@ public final class L2ItemInstance extends L2Object
|
|||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
final L2PcInstance owner = getActingPlayer();
|
if ((_loc == ItemLocation.PET) || (_loc == ItemLocation.PET_EQUIP))
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
L2Character owner = getActingPlayer();
|
||||||
|
if (owner != null)
|
||||||
|
{
|
||||||
for (Condition condition : _item.getConditions())
|
for (Condition condition : _item.getConditions())
|
||||||
{
|
{
|
||||||
if (condition == null)
|
if (condition == null)
|
||||||
@@ -1806,6 +1812,7 @@ public final class L2ItemInstance extends L2Object
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1788,7 +1788,13 @@ public final class L2ItemInstance extends L2Object
|
|||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
final L2PcInstance owner = getActingPlayer();
|
if ((_loc == ItemLocation.PET) || (_loc == ItemLocation.PET_EQUIP))
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
L2Character owner = getActingPlayer();
|
||||||
|
if (owner != null)
|
||||||
|
{
|
||||||
for (Condition condition : _item.getConditions())
|
for (Condition condition : _item.getConditions())
|
||||||
{
|
{
|
||||||
if (condition == null)
|
if (condition == null)
|
||||||
@@ -1806,6 +1812,7 @@ public final class L2ItemInstance extends L2Object
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1788,7 +1788,13 @@ public final class L2ItemInstance extends L2Object
|
|||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
final L2PcInstance owner = getActingPlayer();
|
if ((_loc == ItemLocation.PET) || (_loc == ItemLocation.PET_EQUIP))
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
L2Character owner = getActingPlayer();
|
||||||
|
if (owner != null)
|
||||||
|
{
|
||||||
for (Condition condition : _item.getConditions())
|
for (Condition condition : _item.getConditions())
|
||||||
{
|
{
|
||||||
if (condition == null)
|
if (condition == null)
|
||||||
@@ -1806,6 +1812,7 @@ public final class L2ItemInstance extends L2Object
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user