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,10 +4,6 @@
extern "C" {
#endif
#ifdef MCPI_SERVER_MODE
char *misc_get_launch_directory();
#endif
__attribute__((visibility("internal"))) void _init_misc_cpp();
#ifdef __cplusplus

View File

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