iutils: walking fix for invisible diagonal door at Gric's farm Zeah

This commit is contained in:
illumineawake 2021-08-24 14:31:02 +10:00
parent 027693e44b
commit 6da3baecbc
4 changed files with 6 additions and 2 deletions

View File

@ -23,7 +23,7 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
version = "4.5.2"
version = "4.5.3"
project.extra["PluginName"] = "iUtils"
project.extra["PluginDescription"] = "Illumine - Utils required for plugins to function with added automation"

View File

@ -222,6 +222,10 @@ public class Walking {
}
private boolean hasDiagonalDoor(iTile tile) {
if (game.localPlayer().position().regionID() == 7223) { //Invisible door at Gric's Farm fucking shit up
return false;
}
var wall = tile.object(ObjectCategory.REGULAR);
if (wall != null && !wall.position().equals(game.localPlayer().position()) && wall.actions().contains("Open")) {

File diff suppressed because one or more lines are too long