iutils: walking fix for invisible diagonal door at Gric's farm Zeah
This commit is contained in:
parent
027693e44b
commit
6da3baecbc
|
@ -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"
|
||||
|
|
|
@ -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
Binary file not shown.
Loading…
Reference in New Issue