mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-02 16:49:03 +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:
@@ -8,6 +8,9 @@
|
||||
<classpathentry kind="lib" path="libs/slf4j.jar"/>
|
||||
<classpathentry kind="lib" path="libs/xpp3-1.1.4c.jar"/>
|
||||
<classpathentry kind="lib" path="libs/xstream-1.4.1.jar"/>
|
||||
<classpathentry kind="lib" path="libs/everythingrs-api.jar"/>
|
||||
<classpathentry kind="lib" path="libs/javacord-api-3.0.4.jar"/>
|
||||
<classpathentry kind="lib" path="libs/json-20190722.jar"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
/bin/
|
||||
@@ -1,14 +1,14 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
|
||||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
|
||||
org.eclipse.jdt.core.compiler.compliance=1.7
|
||||
org.eclipse.jdt.core.compiler.compliance=1.8
|
||||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
|
||||
org.eclipse.jdt.core.compiler.debug.localVariable=generate
|
||||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
|
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.source=1.7
|
||||
org.eclipse.jdt.core.compiler.source=1.8
|
||||
org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
|
||||
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0
|
||||
|
||||
@@ -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.");
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@ public class Npc {
|
||||
updateRequired = true;
|
||||
}
|
||||
|
||||
public boolean requestTransformTime(Client player, int itemId, int animation, final int currentId, final int newId, int transformTime, int npcId) {
|
||||
public boolean requestTransformTime(Client player, int itemId, int animation, final int currentId, final int newId, int transformTime, final int npcId) {
|
||||
if (!player.getItemAssistant().playerHasItem(itemId)) {
|
||||
player.getActionSender().sendMessage("You need " + ItemAssistant.getItemName(itemId).toLowerCase() + " to do that.");
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user