Simplify one of our checks on getPrisoner

This commit is contained in:
graywolf336 2014-07-14 21:40:21 -05:00
parent ce1231da39
commit b83d1245f8

View File

@ -279,11 +279,7 @@ public class JailManager {
public Prisoner getPrisoner(UUID uuid) {
Jail j = getJailPlayerIsIn(uuid);
if(j != null) {
return j.getPrisoner(uuid);
}else {
return null;
}
return j == null ? null : j.getPrisoner(uuid);
}
/**