Fletching fix

Should fix 2 people not being able to fletch at once. Let me know how it works - mr extremez :)
This commit is contained in:
Mr Extremez
2019-10-22 01:15:03 -05:00
committed by Dark98
parent ede6989139
commit 818ea68ae1
5 changed files with 11 additions and 8 deletions
@@ -20,11 +20,10 @@ public class LogCuttingInterface {
}
public static void Interface(Client c, int item) {
if (c.playerIsFletching == true && item > 1510 && item < 1522) {
c.getActionSender().sendMessage("You are already fletching!");
c.getPlayerAssistant().closeAllWindows();
if (c.playerIsFletching == true && (item > 1510 && item < 1522)) {
LogCutting.resetFletching(c);
return;
} else if (item < 1510 && item > 1521) {
} else if (c.playerIsFletching == true && (item < 1510 || item > 1521)) {
c.playerIsFletching = false;
c.getActionSender().sendMessage("Nothing interesting happens.");
}