Fix CuboidClipboard-Chaos
Dieser Commit ist enthalten in:
Ursprung
61ff3fb24d
Commit
a0c3a72524
@ -32,11 +32,11 @@ class Schematic_12 {
|
|||||||
return outputStream.toByteArray();
|
return outputStream.toByteArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void setPlayerClipboard(Player player, InputStream is) throws IOException, NoClipboardException {
|
static void setPlayerClipboard(Player player, InputStream is) throws IOException {
|
||||||
Schematic_8.setPlayerClipboard(player, is);
|
Schematic_8.setPlayerClipboard(player, is);
|
||||||
}
|
}
|
||||||
|
|
||||||
static Clipboard getClipboard(InputStream is) throws IOException, NoClipboardException {
|
static Clipboard getClipboard(InputStream is) throws IOException {
|
||||||
return Schematic_8.getClipboard(is);
|
return Schematic_8.getClipboard(is);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -36,7 +36,7 @@ class Schematic_8 {
|
|||||||
return outputStream.toByteArray();
|
return outputStream.toByteArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void setPlayerClipboard(Player player, InputStream is) throws IOException, NoClipboardException {
|
static void setPlayerClipboard(Player player, InputStream is) throws IOException {
|
||||||
WorldData world = new BukkitWorld(player.getWorld()).getWorldData();
|
WorldData world = new BukkitWorld(player.getWorld()).getWorldData();
|
||||||
Clipboard clipboard = getClipboard(is);
|
Clipboard clipboard = getClipboard(is);
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren