*fix npc right click,

This commit is contained in:
Zino 2013-08-08 18:19:22 +02:00
parent 0a1bc9c39f
commit f0eed1aa22

View File

@ -280,17 +280,15 @@ public class Quest {
}else if(other.blockStart == null && blockStart != null) }else if(other.blockStart == null && blockStart != null)
return false; return false;
for(String s : other.commands){ if(commands.size() == other.commands.size()){
if(commands.size() >= (other.commands.indexOf(s))){ for (int i = 0; i < commands.size(); i++) {
if (commands.get(i).equals(other.commands.get(i)) == false)
if(commands.get(other.commands.indexOf(s)).equals(s) == false) return false;
return false; }
}else{ }else{
return false; return false;
}
} }
if(other.description.equals(description) == false) if(other.description.equals(description) == false)