mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-22 18:45:27 +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)
|
}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;
|
|
||||||
|
|
||||||
}else{
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}else{
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(other.description.equals(description) == false)
|
if(other.description.equals(description) == false)
|
||||||
|
Loading…
Reference in New Issue
Block a user