SteamWar/SpigotCore
Archiviert
13
0

Fix CuboidClipboard-Chaos

Dieser Commit ist enthalten in:
Lixfel 2019-12-09 11:16:11 +01:00
Ursprung 0fe01c40e5
Commit 441097926b
2 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -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);
} }
} }

Datei anzeigen

@ -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);