Refactor to remove abstraction.
This commit is contained in:
1 parent
d67026edba
commit
f6aa71e9fb
3 files changed
+44
-36
No files matched your search
@@ -22,7 +22,6 @@ import engine.server.MBServerStatics;
|
||||
import org.pmw.tinylog.Logger;
|
||||
|
||||
import java.awt.*;
|
||||
import java.net.UnknownHostException;
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
import java.time.LocalDateTime;
|
||||
@@ -72,7 +71,7 @@ public class Realm {
|
||||
/**
|
||||
* ResultSet Constructor
|
||||
*/
|
||||
public Realm(ResultSet rs) throws SQLException, UnknownHostException {
|
||||
public Realm(ResultSet rs) throws SQLException {
|
||||
|
||||
this.mapColor = new Color(Integer.parseInt(rs.getString("realmColor"), 16));
|
||||
this.mapR = (float) (mapColor.getRed() * 0.00392156863);
|
||||
|
||||
Reference in new issue
Block a user