fix tiled plugin

This commit is contained in:
fgnm
2024-04-30 13:23:38 +02:00
parent bf0e617689
commit 07bc5256dc
2 changed files with 1 additions and 1 deletions
Binary file not shown.
@@ -219,7 +219,7 @@ public class TiledPlugin extends H2DPluginAdapter {
public boolean isOnCurrentSelectedLayer(int entity) {
ZIndexComponent entityZComponent = ComponentRetriever.get(entity, ZIndexComponent.class, getAPI().getEngine());
return entityZComponent.layerName.equals(pluginAPI.getCurrentSelectedLayerName());
return entityZComponent.getLayerName().equals(pluginAPI.getCurrentSelectedLayerName());
}
public void setSelectedTileName (String regionName) {