mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-14 04:13:14 -04:00
only select the bit we need
This commit is contained in:
@@ -715,7 +715,7 @@ public class ObjectService implements INetworkDispatch {
|
||||
customName = customName.split(" ")[0];
|
||||
|
||||
try {
|
||||
PreparedStatement ps = core.getDatabase1().preparedStatement("SELECT * FROM characters WHERE \"firstName\" ILIKE ?");
|
||||
PreparedStatement ps = core.getDatabase1().preparedStatement("SELECT id FROM characters WHERE \"firstName\" ILIKE ?");
|
||||
ps.setString(1, customName);
|
||||
ResultSet resultSet = ps.executeQuery();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user