Prevent auto use when in sayune zone.

Thanks to Enryu.
This commit is contained in:
MobiusDevelopment
2022-01-17 04:40:49 +00:00
parent ab433be0f5
commit da52de192f
8 changed files with 8 additions and 8 deletions

View File

@@ -85,7 +85,7 @@ public class AutoUseTaskManager implements Runnable
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)
{