Map: simplify updateMap
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright 2017 Longri
|
||||
* Copyright 2019 devemux86
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
@@ -69,6 +70,11 @@ public class MapAdapter extends Map implements Map.UpdateListener {
|
||||
}
|
||||
};
|
||||
|
||||
@Override
|
||||
public void updateMap() {
|
||||
updateMap(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateMap(boolean forceRender) {
|
||||
synchronized (mRedrawCb) {
|
||||
@@ -81,7 +87,6 @@ public class MapAdapter extends Map implements Map.UpdateListener {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void render() {
|
||||
synchronized (mRedrawCb) {
|
||||
|
||||
Reference in New Issue
Block a user