mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-29 14:05:25 +01:00
Hmm
This commit is contained in:
parent
023b268ec0
commit
23ca602689
@ -95,6 +95,7 @@ import com.gamingmesh.jobs.stuff.RawMessage;
|
||||
import com.gamingmesh.jobs.stuff.TabComplete;
|
||||
import com.gamingmesh.jobs.stuff.VersionChecker;
|
||||
import com.gamingmesh.jobs.stuff.CMIScoreboardManager;
|
||||
import com.gamingmesh.jobs.stuff.Debug;
|
||||
import com.gamingmesh.jobs.tasks.BufferedPaymentThread;
|
||||
import com.gamingmesh.jobs.tasks.DatabaseSaveThread;
|
||||
|
||||
|
@ -10,4 +10,3 @@
|
||||
/JobsDrivers.class
|
||||
/JobsDAO$1.class
|
||||
/JobsDAO$2.class
|
||||
/JobsDAO.java
|
||||
|
@ -786,10 +786,14 @@ public abstract class JobsDAO {
|
||||
prestt.setString(2, playerName);
|
||||
prestt.setLong(3, System.currentTimeMillis());
|
||||
prestt.executeUpdate();
|
||||
|
||||
res2 = prestt.getGeneratedKeys();
|
||||
int id = 0;
|
||||
if (res2.next())
|
||||
id = res2.getInt(1);
|
||||
|
||||
Debug.D("got id " + id);
|
||||
|
||||
Jobs.getPlayerManager().addPlayerToMap(new PlayerInfo(playerName, id, uuid, System.currentTimeMillis()));
|
||||
} catch (SQLException e) {
|
||||
e.printStackTrace();
|
||||
|
1
src/main/resources/locale/.gitignore
vendored
Normal file
1
src/main/resources/locale/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/messages_de.yml
|
Loading…
Reference in New Issue
Block a user