Prevent auto use when in sayune zone.
Thanks to Enryu.
This commit is contained in:
@@ -85,7 +85,7 @@ public class AutoUseTaskManager implements Runnable
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
final boolean isInPeaceZone = player.isInsideZone(ZoneId.PEACE);
|
final boolean isInPeaceZone = player.isInsideZone(ZoneId.PEACE) || player.isInsideZone(ZoneId.SAYUNE);
|
||||||
|
|
||||||
if (Config.ENABLE_AUTO_ITEM && !isInPeaceZone)
|
if (Config.ENABLE_AUTO_ITEM && !isInPeaceZone)
|
||||||
{
|
{
|
||||||
|
@@ -85,7 +85,7 @@ public class AutoUseTaskManager implements Runnable
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
final boolean isInPeaceZone = player.isInsideZone(ZoneId.PEACE);
|
final boolean isInPeaceZone = player.isInsideZone(ZoneId.PEACE) || player.isInsideZone(ZoneId.SAYUNE);
|
||||||
|
|
||||||
if (Config.ENABLE_AUTO_ITEM && !isInPeaceZone)
|
if (Config.ENABLE_AUTO_ITEM && !isInPeaceZone)
|
||||||
{
|
{
|
||||||
|
@@ -85,7 +85,7 @@ public class AutoUseTaskManager implements Runnable
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
final boolean isInPeaceZone = player.isInsideZone(ZoneId.PEACE);
|
final boolean isInPeaceZone = player.isInsideZone(ZoneId.PEACE) || player.isInsideZone(ZoneId.SAYUNE);
|
||||||
|
|
||||||
if (Config.ENABLE_AUTO_ITEM && !isInPeaceZone)
|
if (Config.ENABLE_AUTO_ITEM && !isInPeaceZone)
|
||||||
{
|
{
|
||||||
|
@@ -85,7 +85,7 @@ public class AutoUseTaskManager implements Runnable
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
final boolean isInPeaceZone = player.isInsideZone(ZoneId.PEACE);
|
final boolean isInPeaceZone = player.isInsideZone(ZoneId.PEACE) || player.isInsideZone(ZoneId.SAYUNE);
|
||||||
|
|
||||||
if (Config.ENABLE_AUTO_ITEM && !isInPeaceZone)
|
if (Config.ENABLE_AUTO_ITEM && !isInPeaceZone)
|
||||||
{
|
{
|
||||||
|
@@ -85,7 +85,7 @@ public class AutoUseTaskManager implements Runnable
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
final boolean isInPeaceZone = player.isInsideZone(ZoneId.PEACE);
|
final boolean isInPeaceZone = player.isInsideZone(ZoneId.PEACE) || player.isInsideZone(ZoneId.SAYUNE);
|
||||||
|
|
||||||
if (Config.ENABLE_AUTO_ITEM && !isInPeaceZone)
|
if (Config.ENABLE_AUTO_ITEM && !isInPeaceZone)
|
||||||
{
|
{
|
||||||
|
@@ -85,7 +85,7 @@ public class AutoUseTaskManager implements Runnable
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
final boolean isInPeaceZone = player.isInsideZone(ZoneId.PEACE);
|
final boolean isInPeaceZone = player.isInsideZone(ZoneId.PEACE) || player.isInsideZone(ZoneId.SAYUNE);
|
||||||
|
|
||||||
if (Config.ENABLE_AUTO_ITEM && !isInPeaceZone)
|
if (Config.ENABLE_AUTO_ITEM && !isInPeaceZone)
|
||||||
{
|
{
|
||||||
|
@@ -85,7 +85,7 @@ public class AutoUseTaskManager implements Runnable
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
final boolean isInPeaceZone = player.isInsideZone(ZoneId.PEACE);
|
final boolean isInPeaceZone = player.isInsideZone(ZoneId.PEACE) || player.isInsideZone(ZoneId.SAYUNE);
|
||||||
|
|
||||||
if (Config.ENABLE_AUTO_ITEM && !isInPeaceZone)
|
if (Config.ENABLE_AUTO_ITEM && !isInPeaceZone)
|
||||||
{
|
{
|
||||||
|
@@ -85,7 +85,7 @@ public class AutoUseTaskManager implements Runnable
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
final boolean isInPeaceZone = player.isInsideZone(ZoneId.PEACE);
|
final boolean isInPeaceZone = player.isInsideZone(ZoneId.PEACE) || player.isInsideZone(ZoneId.SAYUNE);
|
||||||
|
|
||||||
if (Config.ENABLE_AUTO_ITEM && !isInPeaceZone)
|
if (Config.ENABLE_AUTO_ITEM && !isInPeaceZone)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user