Removed crystallizing flood protection.

This commit is contained in:
MobiusDev
2017-01-30 18:52:57 +00:00
parent 5ac357ea58
commit 1a8cc464a6
4 changed files with 20 additions and 20 deletions

View File

@@ -61,11 +61,11 @@ public class RequestCrystallizeEstimate implements IClientIncomingPacket
return; return;
} }
if (!client.getFloodProtectors().getTransaction().tryPerformAction("crystallize")) // if (!client.getFloodProtectors().getTransaction().tryPerformAction("crystallize"))
{ // {
activeChar.sendMessage("You are crystallizing too fast."); // activeChar.sendMessage("You are crystallizing too fast.");
return; // return;
} // }
if (_count <= 0) if (_count <= 0)
{ {

View File

@@ -41,11 +41,11 @@ public class RequestCrystallizeItemCancel implements IClientIncomingPacket
return; return;
} }
if (!client.getFloodProtectors().getTransaction().tryPerformAction("crystallize")) // if (!client.getFloodProtectors().getTransaction().tryPerformAction("crystallize"))
{ // {
activeChar.sendMessage("You are crystallizing too fast."); // activeChar.sendMessage("You are crystallizing too fast.");
return; // return;
} // }
if (activeChar.isInCrystallize()) if (activeChar.isInCrystallize())
{ {

View File

@@ -61,11 +61,11 @@ public class RequestCrystallizeEstimate implements IClientIncomingPacket
return; return;
} }
if (!client.getFloodProtectors().getTransaction().tryPerformAction("crystallize")) // if (!client.getFloodProtectors().getTransaction().tryPerformAction("crystallize"))
{ // {
activeChar.sendMessage("You are crystallizing too fast."); // activeChar.sendMessage("You are crystallizing too fast.");
return; // return;
} // }
if (_count <= 0) if (_count <= 0)
{ {

View File

@@ -41,11 +41,11 @@ public class RequestCrystallizeItemCancel implements IClientIncomingPacket
return; return;
} }
if (!client.getFloodProtectors().getTransaction().tryPerformAction("crystallize")) // if (!client.getFloodProtectors().getTransaction().tryPerformAction("crystallize"))
{ // {
activeChar.sendMessage("You are crystallizing too fast."); // activeChar.sendMessage("You are crystallizing too fast.");
return; // return;
} // }
if (activeChar.isInCrystallize()) if (activeChar.isInCrystallize())
{ {