mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-24 11:23:52 +00:00
Merge branch 'feature/plugin-api' of github.com:sylvessa/MinecraftConsoles into feature/plugin-api
This commit is contained in:
commit
8e66b2c19e
13 changed files with 570 additions and 5 deletions
|
|
@ -190,6 +190,19 @@ public static partial class FourKitHost
|
|||
}
|
||||
}
|
||||
|
||||
[UnmanagedCallersOnly]
|
||||
public static void FireSchedulerCallback(int currentTick) {
|
||||
try
|
||||
{
|
||||
FourKit.getScheduler().update(currentTick);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
ServerLog.Error("fourkit", $"FireSchedulerCallback error: {ex}");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
[UnmanagedCallersOnly]
|
||||
public static int FirePlayerMove(int entityId,
|
||||
double fromX, double fromY, double fromZ,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue