mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-02 14:38:26 +01:00
Fix double/drag prediction
This commit is contained in:
parent
1bdc50f4a0
commit
3423562be8
@ -414,6 +414,7 @@ public class Inventory extends AbstractInventory implements Viewable {
|
||||
return false;
|
||||
}
|
||||
refreshPlayerCursorItem(player, clickResult.getCursor());
|
||||
updateAll(player); // FIXME: currently not properly client-predicted
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -429,6 +430,7 @@ public class Inventory extends AbstractInventory implements Viewable {
|
||||
return false;
|
||||
}
|
||||
refreshPlayerCursorItem(player, clickResult.getCursor());
|
||||
updateAll(player); // FIXME: currently not properly client-predicted
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user