From 06793330accecfd344e23c9612c1f89eb1bb7ab5 Mon Sep 17 00:00:00 2001 From: graywolf336 Date: Wed, 5 Mar 2014 22:36:43 -0600 Subject: [PATCH] Fix the jailing sql syntax being incorrect for jailing in cells. --- src/main/java/com/graywolf336/jail/JailIO.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/graywolf336/jail/JailIO.java b/src/main/java/com/graywolf336/jail/JailIO.java index 3cd61b4..db5b245 100644 --- a/src/main/java/com/graywolf336/jail/JailIO.java +++ b/src/main/java/com/graywolf336/jail/JailIO.java @@ -485,11 +485,12 @@ public class JailIO { pPS.setFloat(5, p.getRemainingTime()); pPS.setBoolean(6, p.isOfflinePending()); pPS.setBoolean(7, p.isToBeTransferred()); - pPS.setString(8, p.getReason()); - pPS.setBytes(9, p.getInventory().getBytes()); - pPS.setBytes(10, p.getArmor().getBytes()); - pPS.setString(11, p.getPreviousLocationString()); - pPS.setString(12, p.getPreviousGameMode().toString()); + pPS.setString(8, p.getJailer()); + pPS.setString(9, p.getReason()); + pPS.setBytes(10, p.getInventory().getBytes()); + pPS.setBytes(11, p.getArmor().getBytes()); + pPS.setString(12, p.getPreviousLocationString()); + pPS.setString(13, p.getPreviousGameMode().toString()); pPS.executeUpdate(); pPS.close();