Sync with L2jServer HighFive Mar 3rd 2016.
This commit is contained in:
@ -11552,7 +11552,7 @@ public final class L2PcInstance extends L2Playable
|
||||
{
|
||||
for (int i = 0; i < _htmlActionCaches.length; ++i)
|
||||
{
|
||||
if (validateHtmlAction(_htmlActionCaches[i], action))
|
||||
if ((_htmlActionCaches[i] != null) && validateHtmlAction(_htmlActionCaches[i], action))
|
||||
{
|
||||
_lastHtmlActionOriginObjId = _htmlActionOriginObjectIds[i];
|
||||
return _lastHtmlActionOriginObjId;
|
||||
@ -11567,13 +11567,13 @@ public final class L2PcInstance extends L2Playable
|
||||
* <ul>
|
||||
* <li>Inventory contains item</li>
|
||||
* <li>Item owner id == owner id</li>
|
||||
* <li>It isnt pet control item while mounting pet or pet summoned</li>
|
||||
* <li>It isnt active enchant item</li>
|
||||
* <li>It isnt cursed weapon/item</li>
|
||||
* <li>It isnt wear item</li>
|
||||
* <li>It isn't pet control item while mounting pet or pet summoned</li>
|
||||
* <li>It isn't active enchant item</li>
|
||||
* <li>It isn't cursed weapon/item</li>
|
||||
* <li>It isn't wear item</li>
|
||||
* </ul>
|
||||
* @param objectId item object id
|
||||
* @param action just for login porpouse
|
||||
* @param action just for login purpose
|
||||
* @return
|
||||
*/
|
||||
public boolean validateItemManipulation(int objectId, String action)
|
||||
|
Reference in New Issue
Block a user