Fix RenderableContext didn't check if mapHandler is null in input()

This commit is contained in:
2021-03-08 08:45:26 +01:00
parent ad991fcf39
commit b259fc1a10

View File

@@ -61,7 +61,9 @@ public class RenderableContext implements Context, Updatable, Renderable {
}
public void input(Window window) {
mapHandler.input(window);
if (mapHandler != null) {
mapHandler.input(window);
}
}
@Override