SteamWar/FightSystem
Archiviert
13
1

Hotfix Testarena NPE

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2021-08-27 22:40:09 +02:00
Ursprung c164c7ebfe
Commit 0604d4b725

Datei anzeigen

@ -247,6 +247,9 @@ public interface Recorder {
default void blueSchem(int schemId) {
try {
if(schemId == 0)
throw new IOException();
write(0xb3, schemId, Schematic.getSchemFromDB(schemId).schemData());
} catch (IOException e) {
Bukkit.getLogger().log(Level.SEVERE, "Could not embed schematic", e);
@ -256,6 +259,9 @@ public interface Recorder {
default void redSchem(int schemId) {
try {
if(schemId == 0)
throw new IOException();
write(0xb4, schemId, Schematic.getSchemFromDB(schemId).schemData());
} catch (IOException e) {
Bukkit.getLogger().log(Level.SEVERE, "Could not embed schematic", e);