Search in sources :

Example 1 with RSDecorativeObject

use of net.runelite.rs.api.RSDecorativeObject in project runelite by runelite.

the class RSRegionMixin method rl$addBoundaryDecoration.

@Replace("addBoundaryDecoration")
public void rl$addBoundaryDecoration(int plane, int x, int y, int hash, Renderable var5, Renderable var6, int var7, int var8, int var9, int var10, int var11, int var12) {
    rs$addBoundaryDecoration(plane, x, y, hash, var5, var6, var7, var8, var9, var10, var11, var12);
    Tile tile = getTiles()[plane][x][y];
    if (tile != null) {
        RSDecorativeObject object = (RSDecorativeObject) tile.getDecorativeObject();
        if (object != null) {
            object.setPlane(plane);
        }
    }
}
Also used : RSDecorativeObject(net.runelite.rs.api.RSDecorativeObject) Tile(net.runelite.api.Tile) Replace(net.runelite.api.mixins.Replace)

Aggregations

Tile (net.runelite.api.Tile)1 Replace (net.runelite.api.mixins.Replace)1 RSDecorativeObject (net.runelite.rs.api.RSDecorativeObject)1