12
0

Adding funktion to check pasteablity

Dieser Commit ist enthalten in:
Lixfel 2019-12-05 11:28:09 +01:00
Ursprung 602a4d1098
Commit de2e880e0e

Datei anzeigen

@ -147,6 +147,10 @@ public class Schematic {
updateDB();
}
public boolean availible(){
return Core.getVersion() > 12 || !schemFormat;
}
public Clipboard load() throws WrongVersionException, IOException, NoClipboardException {
if(Core.getVersion() <= 12 && schemFormat)
throw new WrongVersionException();