Fixes build failing due to old Clipboard reference in Blueprint

This commit is contained in:
Florian CUNY 2019-04-28 13:58:34 +02:00
parent 2bc590d8d1
commit 3fca2d7b8e

View File

@ -25,13 +25,13 @@ public class Blueprint {
private List<String> description; //TODO private List<String> description; //TODO
private World.Environment environment; private World.Environment environment;
private Clipboard clipboard;
public Blueprint(@NonNull String name, @NonNull ZipFile zip) throws IOException { public Blueprint(@NonNull String name, @NonNull ZipFile zip) throws IOException {
this.name = name; this.name = name;
try (JsonReader reader = new Gson().newJsonReader(new InputStreamReader(zip.getInputStream(zip.getEntry("properties.json"))))) { try (JsonReader reader = new Gson().newJsonReader(new InputStreamReader(zip.getInputStream(zip.getEntry("properties.json"))))) {
readProperties(reader); readProperties(reader);
} }
//System.out.println(new Gson().toJson(this));
} }
private void readProperties(@NonNull JsonReader reader) throws IOException { private void readProperties(@NonNull JsonReader reader) throws IOException {
@ -77,8 +77,4 @@ public class Blueprint {
public World.Environment getEnvironment() { public World.Environment getEnvironment() {
return environment; return environment;
} }
public Clipboard getClipboard() {
return clipboard;
}
} }