Fix overlays not being rendered

This commit is contained in:
Kamiel
2018-02-23 21:36:45 +01:00
parent 6580060f38
commit 2dca5379e9

View File

@@ -264,7 +264,7 @@ public class OverlayRenderer
final Dimension dimension = MoreObjects.firstNonNull(safeRender(overlay, surfaceGraphics, subPosition), new Dimension());
if (dimension.width == 0 && dimension.height == 0)
{
return;
continue;
}
final BufferedImage clippedImage = surface.getSubimage(0, 0, dimension.width, dimension.height);