fixed rooms, worked on take command
This commit is contained in:
@@ -89,7 +89,7 @@ class Command {
|
||||
}
|
||||
|
||||
public boolean hasItem(){
|
||||
return item.equals("");
|
||||
return !item.equals("");
|
||||
}
|
||||
public boolean hasDirection() {
|
||||
return CommandWords.isDirection(direction);
|
||||
@@ -97,4 +97,7 @@ class Command {
|
||||
public String getDirection() {
|
||||
return direction;
|
||||
}
|
||||
public String getItem() {
|
||||
return item;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user