Use of canInteract for NPC onBypassFeedback method.

This commit is contained in:
MobiusDev
2019-01-02 21:45:20 +00:00
parent 3ccdb2eb84
commit 088f57bc41
12 changed files with 33 additions and 20 deletions

View File

@ -622,7 +622,7 @@ public class L2Npc extends L2Character
*/
public void onBypassFeedback(L2PcInstance player, String command)
{
// if (canInteract(player))
if (canInteract(player))
{
final IBypassHandler handler = BypassHandler.getInstance().getHandler(command);
if (handler != null)