mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-07 16:49:12 +00:00
Clarify parameter names in item on object event.
This commit is contained in:
@@ -24,14 +24,14 @@ public final class ItemOnObjectEvent extends InventoryItemEvent {
|
|||||||
* Creates an item on object event.
|
* Creates an item on object event.
|
||||||
*
|
*
|
||||||
* @param interfaceId The interface id.
|
* @param interfaceId The interface id.
|
||||||
* @param id The item id.
|
* @param itemId The item id.
|
||||||
* @param slot The slot the item is in.
|
* @param itemSlot The slot the item is in.
|
||||||
* @param objectId The object id.
|
* @param objectId The object id.
|
||||||
* @param x The x coordinate.
|
* @param x The x coordinate.
|
||||||
* @param y The y coordinate.
|
* @param y The y coordinate.
|
||||||
*/
|
*/
|
||||||
public ItemOnObjectEvent(int interfaceId, int id, int slot, int objectId, int x, int y) {
|
public ItemOnObjectEvent(int interfaceId, int itemId, int itemSlot, int objectId, int x, int y) {
|
||||||
super(0, interfaceId, id, slot);
|
super(0, interfaceId, itemId, itemSlot);
|
||||||
this.objectId = objectId;
|
this.objectId = objectId;
|
||||||
this.position = new Position(x, y);
|
this.position = new Position(x, y);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user