Fix the insertion of the prisoners.
This commit is contained in:
parent
75aec51dc2
commit
b26fed8f80
@ -455,11 +455,12 @@ public class JailIO {
|
|||||||
pPS.setFloat(5, p.getRemainingTime());
|
pPS.setFloat(5, p.getRemainingTime());
|
||||||
pPS.setBoolean(6, p.isOfflinePending());
|
pPS.setBoolean(6, p.isOfflinePending());
|
||||||
pPS.setBoolean(7, p.isToBeTransferred());
|
pPS.setBoolean(7, p.isToBeTransferred());
|
||||||
pPS.setString(8, p.getReason());
|
pPS.setString(8, p.getJailer());
|
||||||
pPS.setBytes(9, p.getInventory().getBytes());
|
pPS.setString(9, p.getReason());
|
||||||
pPS.setBytes(10, p.getArmor().getBytes());
|
pPS.setBytes(10, p.getInventory().getBytes());
|
||||||
pPS.setString(11, p.getPreviousLocationString());
|
pPS.setBytes(11, p.getArmor().getBytes());
|
||||||
pPS.setString(12, p.getPreviousGameMode().toString());
|
pPS.setString(12, p.getPreviousLocationString());
|
||||||
|
pPS.setString(13, p.getPreviousGameMode().toString());
|
||||||
|
|
||||||
pPS.executeUpdate();
|
pPS.executeUpdate();
|
||||||
pPS.close();
|
pPS.close();
|
||||||
|
Loading…
Reference in New Issue
Block a user