mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +01:00
Move various update events to before player tick. Should help with vanishing drops on death.
This commit is contained in:
parent
7f7125da77
commit
6f725bb64c
1 changed files with 3 additions and 2 deletions
|
@ -200,13 +200,14 @@ class PlayerCapabilities implements IPlayer {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
powers.onUpdate();
|
||||
inventory.onUpdate();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onUpdate() {
|
||||
powers.onUpdate();
|
||||
gravity.onUpdate();
|
||||
inventory.onUpdate();
|
||||
|
||||
if (hasEffect()) {
|
||||
if (entity.getEntityWorld().isRemote) {
|
||||
|
|
Loading…
Reference in a new issue