Fix bug with getImage overriding

This commit is contained in:
Clément Fournier
2018-05-18 21:42:18 +02:00
parent fb4bf5f4c7
commit 4f6150548e

View File

@ -135,7 +135,7 @@ public abstract class AbstractNode implements Node {
@Override
public boolean hasImageEqualTo(String image) {
return Objects.equals(this.image, image);
return Objects.equals(this.getImage(), image);
}
@Override