mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 23:27: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
|
@Override
|
||||||
public void onUpdate() {
|
public void onUpdate() {
|
||||||
powers.onUpdate();
|
|
||||||
gravity.onUpdate();
|
gravity.onUpdate();
|
||||||
inventory.onUpdate();
|
|
||||||
|
|
||||||
if (hasEffect()) {
|
if (hasEffect()) {
|
||||||
if (entity.getEntityWorld().isRemote) {
|
if (entity.getEntityWorld().isRemote) {
|
||||||
|
|
Loading…
Reference in a new issue