mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-22 02:25:42 +01:00
*fix npc right click,
This commit is contained in:
parent
0a1bc9c39f
commit
f0eed1aa22
@ -280,17 +280,15 @@ public class Quest {
|
||||
}else if(other.blockStart == null && blockStart != null)
|
||||
return false;
|
||||
|
||||
for(String s : other.commands){
|
||||
|
||||
if(commands.size() >= (other.commands.indexOf(s))){
|
||||
|
||||
if(commands.get(other.commands.indexOf(s)).equals(s) == false)
|
||||
return false;
|
||||
|
||||
}else{
|
||||
return false;
|
||||
}
|
||||
|
||||
if(commands.size() == other.commands.size()){
|
||||
|
||||
for (int i = 0; i < commands.size(); i++) {
|
||||
if (commands.get(i).equals(other.commands.get(i)) == false)
|
||||
return false;
|
||||
}
|
||||
|
||||
}else{
|
||||
return false;
|
||||
}
|
||||
|
||||
if(other.description.equals(description) == false)
|
||||
|
Loading…
Reference in New Issue
Block a user