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<>();
|
private final Map<String, Long> timing = new HashMap<>();
|
||||||
|
|
||||||
@Override
|
private void start(String name) {
|
||||||
public void start(String name) {
|
|
||||||
timing.put(name, System.currentTimeMillis());
|
timing.put(name, System.currentTimeMillis());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
private long stop(String name) {
|
||||||
public long stop(String name) {
|
|
||||||
return System.currentTimeMillis() - timing.getOrDefault(name, System.currentTimeMillis());
|
return System.currentTimeMillis() - timing.getOrDefault(name, System.currentTimeMillis());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -49,8 +49,6 @@ public class FlatteningWrapper {
|
|||||||
boolean isWorldEditCommand(String command);
|
boolean isWorldEditCommand(String command);
|
||||||
void setSelection(Player p, Point minPoint, Point maxPoint);
|
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(File file, Point pastePoint, PasteOptions pasteOptions);
|
||||||
EditSession paste(Clipboard clipboard, Point pastePoint, PasteOptions pasteOptions);
|
EditSession paste(Clipboard clipboard, Point pastePoint, PasteOptions pasteOptions);
|
||||||
void changeColor(Clipboard clipboard, Color color) throws WorldEditException;
|
void changeColor(Clipboard clipboard, Color color) throws WorldEditException;
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren