Forget to give players money upon first checkin
This commit is contained in:
parent
2c9de875c8
commit
cf7c5fccb0
@ -80,7 +80,8 @@ public class CheckinCommand implements CommandExecutor {
|
|||||||
ps.setInt(3, 1);
|
ps.setInt(3, 1);
|
||||||
ps.setString(4, uuid.toString());
|
ps.setString(4, uuid.toString());
|
||||||
ps.executeUpdate();
|
ps.executeUpdate();
|
||||||
player.sendMessage("§a签到成功!已连续签到§b1§a天,获得§c$100§a奖励");
|
econ.depositPlayer(player, 25.0);
|
||||||
|
player.sendMessage("§a签到成功!已连续签到§b1§a天,获得§c$25§a奖励");
|
||||||
ps.close();
|
ps.close();
|
||||||
}
|
}
|
||||||
} catch (SQLException e) {
|
} catch (SQLException e) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user