call sendOnEnter
This commit is contained in:
parent
16cbba6e76
commit
9b92c6cbf2
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue