mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-03 09:30:17 +01:00
Fixes build failing due to old Clipboard reference in Blueprint
This commit is contained in:
parent
2bc590d8d1
commit
3fca2d7b8e
@ -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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user