call sendOnEnter

This commit is contained in:
Frank 2021-08-05 19:09:34 +02:00
parent 16cbba6e76
commit 9b92c6cbf2
2 changed files with 2 additions and 2 deletions

View file

@ -140,7 +140,7 @@ public class DataExchangeAPI {
/**
* Automatically called before the player enters the world.
* <p>
* This will send all {@link DataHandler}-Objects that have {@link DataHandlerDescriptor#sendBeforeEnter} set to*
* This is automatically called by BCLib. It will send all {@link DataHandler}-Objects that have {@link DataHandlerDescriptor#sendBeforeEnter} set to*
* {@Code true},
*/
@Environment(EnvType.CLIENT)

View file

@ -13,6 +13,6 @@ public class GameMixin {
@Inject(method="onStartGameSession", at=@At("TAIL"))
public void bcliv_onStart(CallbackInfo ci){
DataExchangeAPI.send(new HelloServer());
DataExchangeAPI.sendOnEnter();
}
}