mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-07-04 15:27:30 +07:00
Fixes crash for Monster entities without a backing ds1 object
This commit is contained in:
@ -150,6 +150,7 @@ public class Monster extends Entity {
|
||||
|
||||
@Override
|
||||
public void drawDebugPath(PaletteIndexedBatch batch, ShapeRenderer shapes) {
|
||||
if (object == null) return;
|
||||
DS1.Path path = object.path;
|
||||
if (path == null) return;
|
||||
DS1.Path.Point point;
|
||||
|
Reference in New Issue
Block a user