use of net.runelite.rs.api.RSItemLayer in project runelite by runelite.
the class RSRegionMixin method rl$addItemPile.
@Replace("addItemPile")
public void rl$addItemPile(int plane, int x, int y, int hash, Renderable var5, int var6, Renderable var7, Renderable var8) {
rs$addItemPile(plane, x, y, hash, var5, var6, var7, var8);
Tile tile = getTiles()[plane][x][y];
if (tile != null) {
RSItemLayer itemLayer = (RSItemLayer) tile.getItemLayer();
if (itemLayer != null) {
itemLayer.setPlane(plane);
}
}
}
Aggregations