13
0
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2020-07-11 07:57:31 +02:00
Ursprung 48a6c8dee6
Commit 144ee663de

Datei anzeigen

@ -1,6 +1,5 @@
package de.steamwar.schematicsystem;
import de.steamwar.sql.NoClipboardException;
import de.steamwar.sql.Schematic;
import de.steamwar.sql.SchematicType;
import org.bukkit.event.EventHandler;
@ -8,7 +7,6 @@ import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerJoinEvent;
import org.bukkit.event.player.PlayerQuitEvent;
import java.io.IOException;
import java.util.UUID;
public class ClipboardListener implements Listener {
@ -40,7 +38,7 @@ public class ClipboardListener implements Listener {
try{
schematic.saveFromPlayer(e.getPlayer());
} catch (IOException | NoClipboardException ex) {
} catch (Exception ex) {
if(newSchem)
schematic.remove();
}