Cleanup
This commit is contained in:
parent
bf14e71c87
commit
1877996874
@ -4,10 +4,6 @@
|
|||||||
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
|
||||||
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user