Message for drop item while casting prevention.
This commit is contained in:
@@ -179,6 +179,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
final Skill skill = skillCaster.getSkill();
|
||||
if ((skill != null) && (player.getKnownSkill(skill.getId()) != null))
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getName() + ".");
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -186,6 +187,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
final SkillUseHolder skill = player.getQueuedSkill();
|
||||
if ((skill != null) && (player.getKnownSkill(skill.getSkillId()) != null))
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getSkill().getName() + ".");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@@ -179,6 +179,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
final Skill skill = skillCaster.getSkill();
|
||||
if ((skill != null) && (player.getKnownSkill(skill.getId()) != null))
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getName() + ".");
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -186,6 +187,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
final SkillUseHolder skill = player.getQueuedSkill();
|
||||
if ((skill != null) && (player.getKnownSkill(skill.getSkillId()) != null))
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getSkill().getName() + ".");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@@ -179,6 +179,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
final Skill skill = skillCaster.getSkill();
|
||||
if ((skill != null) && (player.getKnownSkill(skill.getId()) != null))
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getName() + ".");
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -186,6 +187,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
final SkillUseHolder skill = player.getQueuedSkill();
|
||||
if ((skill != null) && (player.getKnownSkill(skill.getSkillId()) != null))
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getSkill().getName() + ".");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@@ -179,6 +179,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
final Skill skill = skillCaster.getSkill();
|
||||
if ((skill != null) && (player.getKnownSkill(skill.getId()) != null))
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getName() + ".");
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -186,6 +187,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
final SkillUseHolder skill = player.getQueuedSkill();
|
||||
if ((skill != null) && (player.getKnownSkill(skill.getSkillId()) != null))
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getSkill().getName() + ".");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@@ -179,6 +179,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
final Skill skill = skillCaster.getSkill();
|
||||
if ((skill != null) && (player.getKnownSkill(skill.getId()) != null))
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getName() + ".");
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -186,6 +187,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
final SkillUseHolder skill = player.getQueuedSkill();
|
||||
if ((skill != null) && (player.getKnownSkill(skill.getSkillId()) != null))
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getSkill().getName() + ".");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@@ -179,6 +179,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
final Skill skill = skillCaster.getSkill();
|
||||
if ((skill != null) && (player.getKnownSkill(skill.getId()) != null))
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getName() + ".");
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -186,6 +187,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
final SkillUseHolder skill = player.getQueuedSkill();
|
||||
if ((skill != null) && (player.getKnownSkill(skill.getSkillId()) != null))
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getSkill().getName() + ".");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@@ -179,6 +179,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
final Skill skill = skillCaster.getSkill();
|
||||
if ((skill != null) && (player.getKnownSkill(skill.getId()) != null))
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getName() + ".");
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -186,6 +187,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
final SkillUseHolder skill = player.getQueuedSkill();
|
||||
if ((skill != null) && (player.getKnownSkill(skill.getSkillId()) != null))
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getSkill().getName() + ".");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@@ -179,6 +179,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
final Skill skill = skillCaster.getSkill();
|
||||
if ((skill != null) && (player.getKnownSkill(skill.getId()) != null))
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getName() + ".");
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -186,6 +187,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
final SkillUseHolder skill = player.getQueuedSkill();
|
||||
if ((skill != null) && (player.getKnownSkill(skill.getSkillId()) != null))
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getSkill().getName() + ".");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@@ -74,6 +74,7 @@ public class RequestDropItem extends ClientBasePacket
|
||||
final Skill skill = activeChar.getSkill();
|
||||
if ((skill != null) && activeChar.isSkillDisabled(skill.getId()) && (activeChar.getSkillLevel(skill.getId()) > 0))
|
||||
{
|
||||
activeChar.sendMessage("You cannot drop an item while casting " + skill.getName() + ".");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@@ -180,6 +180,7 @@ public class RequestDropItem extends GameClientPacket
|
||||
// Do not drop items when casting known skills to avoid exploits.
|
||||
if (player.getKnownSkill(skill.getSkillId()) != null)
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getSkill().getName() + ".");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@@ -155,6 +155,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
// Do not drop items when casting known skills to avoid exploits.
|
||||
if (player.getKnownSkill(skill.getSkillId()) != null)
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getSkill().getName() + ".");
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -175,6 +176,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
// Do not drop items when casting known skills to avoid exploits.
|
||||
if (player.getKnownSkill(skill.getId()) != null)
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getName() + ".");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@@ -155,6 +155,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
// Do not drop items when casting known skills to avoid exploits.
|
||||
if (player.getKnownSkill(skill.getSkillId()) != null)
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getSkill().getName() + ".");
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -175,6 +176,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
// Do not drop items when casting known skills to avoid exploits.
|
||||
if (player.getKnownSkill(skill.getId()) != null)
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getName() + ".");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@@ -179,6 +179,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
final Skill skill = skillCaster.getSkill();
|
||||
if ((skill != null) && (player.getKnownSkill(skill.getId()) != null))
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getName() + ".");
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -186,6 +187,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
final SkillUseHolder skill = player.getQueuedSkill();
|
||||
if ((skill != null) && (player.getKnownSkill(skill.getSkillId()) != null))
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getSkill().getName() + ".");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@@ -179,6 +179,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
final Skill skill = skillCaster.getSkill();
|
||||
if ((skill != null) && (player.getKnownSkill(skill.getId()) != null))
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getName() + ".");
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -186,6 +187,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
final SkillUseHolder skill = player.getQueuedSkill();
|
||||
if ((skill != null) && (player.getKnownSkill(skill.getSkillId()) != null))
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getSkill().getName() + ".");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@@ -179,6 +179,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
final Skill skill = skillCaster.getSkill();
|
||||
if ((skill != null) && (player.getKnownSkill(skill.getId()) != null))
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getName() + ".");
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -186,6 +187,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
final SkillUseHolder skill = player.getQueuedSkill();
|
||||
if ((skill != null) && (player.getKnownSkill(skill.getSkillId()) != null))
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getSkill().getName() + ".");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@@ -179,6 +179,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
final Skill skill = skillCaster.getSkill();
|
||||
if ((skill != null) && (player.getKnownSkill(skill.getId()) != null))
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getName() + ".");
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -186,6 +187,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
final SkillUseHolder skill = player.getQueuedSkill();
|
||||
if ((skill != null) && (player.getKnownSkill(skill.getSkillId()) != null))
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getSkill().getName() + ".");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@@ -179,6 +179,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
final Skill skill = skillCaster.getSkill();
|
||||
if ((skill != null) && (player.getKnownSkill(skill.getId()) != null))
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getName() + ".");
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -186,6 +187,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
final SkillUseHolder skill = player.getQueuedSkill();
|
||||
if ((skill != null) && (player.getKnownSkill(skill.getSkillId()) != null))
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getSkill().getName() + ".");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@@ -179,6 +179,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
final Skill skill = skillCaster.getSkill();
|
||||
if ((skill != null) && (player.getKnownSkill(skill.getId()) != null))
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getName() + ".");
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -186,6 +187,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
final SkillUseHolder skill = player.getQueuedSkill();
|
||||
if ((skill != null) && (player.getKnownSkill(skill.getSkillId()) != null))
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getSkill().getName() + ".");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@@ -179,6 +179,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
final Skill skill = skillCaster.getSkill();
|
||||
if ((skill != null) && (player.getKnownSkill(skill.getId()) != null))
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getName() + ".");
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -186,6 +187,7 @@ public class RequestDropItem implements IClientIncomingPacket
|
||||
final SkillUseHolder skill = player.getQueuedSkill();
|
||||
if ((skill != null) && (player.getKnownSkill(skill.getSkillId()) != null))
|
||||
{
|
||||
player.sendMessage("You cannot drop an item while casting " + skill.getSkill().getName() + ".");
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user