Remove FlatteningWrapper.IFlatteningWrapper.start and stop as they should not be exposed
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
4e54f13848
Commit
d571edd2b9
@ -124,13 +124,11 @@ public class FlatteningWrapper15 implements FlatteningWrapper.IFlatteningWrapper
|
||||
|
||||
private final Map<String, Long> timing = new HashMap<>();
|
||||
|
||||
@Override
|
||||
public void start(String name) {
|
||||
private void start(String name) {
|
||||
timing.put(name, System.currentTimeMillis());
|
||||
}
|
||||
|
||||
@Override
|
||||
public long stop(String name) {
|
||||
private long stop(String name) {
|
||||
return System.currentTimeMillis() - timing.getOrDefault(name, System.currentTimeMillis());
|
||||
}
|
||||
|
||||
|
@ -49,8 +49,6 @@ public class FlatteningWrapper {
|
||||
boolean isWorldEditCommand(String command);
|
||||
void setSelection(Player p, Point minPoint, Point maxPoint);
|
||||
|
||||
void start(String name);
|
||||
long stop(String name);
|
||||
EditSession paste(File file, Point pastePoint, PasteOptions pasteOptions);
|
||||
EditSession paste(Clipboard clipboard, Point pastePoint, PasteOptions pasteOptions);
|
||||
void changeColor(Clipboard clipboard, Color color) throws WorldEditException;
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren