Add player update injection

This commit is contained in:
Howard Stark
2018-08-04 22:58:32 -04:00
parent 9bda792a3e
commit 4608086656
4 changed files with 30 additions and 2 deletions

View File

@@ -26,4 +26,15 @@ public class MixinEntityPlayerSP {
if (event.isCancelled())
ci.cancel();
}
@Inject(
method = "onUpdate",
at = @At(
value = "INVOKE_ASSIGN",
target = "Lnet/minecraft/client/entity/AbstractClientPlayer;onUpdate()V"
)
)
public void onUpdate(CallbackInfo ci) {
}
}