mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-04 23:47:59 +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;
|
return false;
|
||||||
}
|
}
|
||||||
refreshPlayerCursorItem(player, clickResult.getCursor());
|
refreshPlayerCursorItem(player, clickResult.getCursor());
|
||||||
|
updateAll(player); // FIXME: currently not properly client-predicted
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -429,6 +430,7 @@ public class Inventory extends AbstractInventory implements Viewable {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
refreshPlayerCursorItem(player, clickResult.getCursor());
|
refreshPlayerCursorItem(player, clickResult.getCursor());
|
||||||
|
updateAll(player); // FIXME: currently not properly client-predicted
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user