Fix RenderableContext didn't check if mapHandler is null in input()
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user