mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-06 16:49:07 +00:00
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:
@@ -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.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user