We use player instead of name for the player's last known name.
Good catch by @dewick on issue #26.
This commit is contained in:
parent
084e8bea01
commit
b8dc15decb
@ -191,7 +191,7 @@ public class OldInputOutput {
|
|||||||
|
|
||||||
//Load the prisoner if he is a valid prisoner
|
//Load the prisoner if he is a valid prisoner
|
||||||
if(!player.isEmpty()) {
|
if(!player.isEmpty()) {
|
||||||
Prisoner p = j.getPrisonerByLastKnownName(name);
|
Prisoner p = j.getPrisonerByLastKnownName(player);
|
||||||
|
|
||||||
if(p != null) {
|
if(p != null) {
|
||||||
j.removePrisoner(p);
|
j.removePrisoner(p);
|
||||||
|
Loading…
Reference in New Issue
Block a user