v0.6.1: ethereal chains can now pull to solids at diagonals as well
This commit is contained in:
@@ -189,7 +189,7 @@ public class EtherealChains extends Artifact {
|
||||
|
||||
//don't pull if there are no solid objects next to the pull location
|
||||
boolean solidFound = false;
|
||||
for (int i : PathFinder.NEIGHBOURS4){
|
||||
for (int i : PathFinder.NEIGHBOURS8){
|
||||
if (Level.solid[chain.collisionPos + i]){
|
||||
solidFound = true;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user