add guard case (#1446)

This commit is contained in:
Netami1
2019-08-25 01:25:06 -04:00
committed by Ganom
parent 66f85ccbde
commit bc22ee11a4

View File

@@ -131,6 +131,11 @@ public class TargetClickboxOverlay extends Overlay
case HULL:
Polygon objectClickbox = actor.getConvexHull();
if (objectClickbox == null)
{
return;
}
OverlayUtil.renderPolygon(graphics, objectClickbox, color);
break;
case THIN_OUTLINE: