mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-03-03 22:21:53 +07:00
Fixes crash for Monster entities without a backing ds1 object
This commit is contained in:
parent
1d0833ed9c
commit
df71bac470
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user