Fix double/drag prediction in player inventory

This commit is contained in:
TheMode 2021-08-13 21:05:56 +02:00
parent 3423562be8
commit 7f0f35b060

View File

@ -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;
}
}