mirror of
https://github.com/2006-Scape/Parabot-317-API-Minified.git
synced 2026-07-06 00:37:57 +00:00
Fixed item interaction
This commit is contained in:
@@ -1,11 +1,7 @@
|
|||||||
package org.rev317.min.api.methods;
|
package org.rev317.min.api.methods;
|
||||||
|
|
||||||
import org.rev317.min.Loader;
|
|
||||||
import org.rev317.min.accessors.Client;
|
|
||||||
import org.rev317.min.api.wrappers.Tile;
|
import org.rev317.min.api.wrappers.Tile;
|
||||||
|
|
||||||
import java.awt.*;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Everel
|
* @author Everel
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -164,7 +164,7 @@ public class Menu {
|
|||||||
actionId = 1107;
|
actionId = 1107;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
sendAction(actionId, item.getSlot(), item.getId(), 3214);
|
sendAction(actionId, item.getId() - 1, item.getSlot(), 3214);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void interact(Item item, String action){
|
public static void interact(Item item, String action){
|
||||||
@@ -189,7 +189,7 @@ public class Menu {
|
|||||||
actionId = 870;
|
actionId = 870;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
sendAction(actionId, item.getSlot(), item.getId(), 3214);
|
sendAction(actionId, item.getId() - 1, item.getSlot(), 3214);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user