diff --git a/src/main/java/com/gamingmesh/jobs/dao/JobsDAO.java b/src/main/java/com/gamingmesh/jobs/dao/JobsDAO.java index 124a4dc8..c1a63aa6 100644 --- a/src/main/java/com/gamingmesh/jobs/dao/JobsDAO.java +++ b/src/main/java/com/gamingmesh/jobs/dao/JobsDAO.java @@ -897,6 +897,14 @@ public abstract class JobsDAO { JobsConnection conn = getConnection(); if (conn == null) return; + + // Checking possible record in database to avoid duplicates + PlayerInfo info = loadPlayerData(uuid); + if (info != null) { + Jobs.getPlayerManager().addPlayerToMap(info); + return; + } + PreparedStatement prestt = null; ResultSet res2 = null; try {