mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-02 14:38:26 +01:00
Fix double/drag prediction in player inventory
This commit is contained in:
parent
3423562be8
commit
7f0f35b060
@ -358,6 +358,7 @@ public class PlayerInventory extends AbstractInventory implements EquipmentHandl
|
||||
return false;
|
||||
}
|
||||
setCursorItem(clickResult.getCursor());
|
||||
update(); // FIXME: currently not properly client-predicted
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -370,6 +371,7 @@ public class PlayerInventory extends AbstractInventory implements EquipmentHandl
|
||||
return false;
|
||||
}
|
||||
setCursorItem(clickResult.getCursor());
|
||||
update(); // FIXME: currently not properly client-predicted
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user