use of net.runelite.rs.api.RSModel in project runelite by runelite.
the class RSDecorativeObjectMixin method getModel.
@Inject
private RSModel getModel() {
RSRenderable renderable = getRenderable();
if (renderable == null) {
return null;
}
RSModel model;
if (renderable instanceof Model) {
model = (RSModel) renderable;
} else {
model = renderable.getModel();
}
return model;
}
Aggregations