Hotfix of missing SchemData NPE
Dieser Commit ist enthalten in:
Ursprung
9df9439120
Commit
0ecf0b1a42
@ -189,7 +189,10 @@ public class Schematic {
|
||||
ResultSet rs = SQL.select("SELECT SchemData FROM Schematic WHERE SchemID = " + schemID);
|
||||
try {
|
||||
rs.next();
|
||||
InputStream is = rs.getBlob("SchemData").getBinaryStream();
|
||||
Blob blob = rs.getBlob("SchemData");
|
||||
if(blob == null)
|
||||
throw new NoClipboardException();
|
||||
InputStream is = blob.getBinaryStream();
|
||||
switch(Core.getVersion()){
|
||||
case 8:
|
||||
Schematic_8.setPlayerClipboard(player, is);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren