This commit is contained in:
TheBrokenRail 2021-06-30 16:40:57 -04:00
parent bf14e71c87
commit 1877996874
2 changed files with 2 additions and 7 deletions

View File

@ -4,12 +4,8 @@
extern "C" { extern "C" {
#endif #endif
#ifdef MCPI_SERVER_MODE
char *misc_get_launch_directory();
#endif
__attribute__((visibility("internal"))) void _init_misc_cpp(); __attribute__((visibility("internal"))) void _init_misc_cpp();
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif

View File

@ -1,12 +1,11 @@
#include <string.h> #include <string.h>
#include <libreborn/libreborn.h> #include <libreborn/libreborn.h>
#include <libreborn/minecraft.h>
#include "../feature/feature.h" #include "../feature/feature.h"
#include "../init/init.h" #include "../init/init.h"
#include <libreborn/minecraft.h>
static int mob_spawning = 0; static int mob_spawning = 0;
// Override Mob Spawning // Override Mob Spawning
static uint32_t LevelData_getSpawnMobs_injection(__attribute__((unused)) unsigned char *level_data) { static uint32_t LevelData_getSpawnMobs_injection(__attribute__((unused)) unsigned char *level_data) {