Inventory Grid Plugin: Make it so the grid/background actually works
The way it was being done before was the correct way, this commit d6285235cb actually broke it. So this reverts it back to the original method.
This commit is contained in:
@@ -69,7 +69,7 @@ class InventoryGridOverlay extends Overlay
|
||||
final Widget if1DraggingWidget = client.getIf1DraggedWidget();
|
||||
final Widget inventoryWidget = client.getWidget(WidgetInfo.INVENTORY);
|
||||
|
||||
if (if1DraggingWidget == null || if1DraggingWidget.equals(inventoryWidget)
|
||||
if (if1DraggingWidget == null || if1DraggingWidget != inventoryWidget
|
||||
|| client.getItemPressedDuration() < plugin.getDragDelay() / Constants.CLIENT_TICK_LENGTH)
|
||||
{
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user