This repository was archived by the owner on Mar 5, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
src/main/java/me/earth/earthhack/impl Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package me .earth .earthhack .impl ;
22
3+ import com .badlogic .gdx .physics .bullet .Bullet ;
4+ import jassimp .IHMCJassimp ;
35import me .earth .earthhack .api .util .interfaces .Globals ;
46import me .earth .earthhack .impl .core .ducks .IMinecraft ;
57import me .earth .earthhack .impl .managers .Managers ;
911import org .apache .logging .log4j .LogManager ;
1012import org .apache .logging .log4j .Logger ;
1113import org .lwjgl .opengl .Display ;
14+ import us .ihmc .tools .nativelibraries .NativeLibraryLoader ;
1215
1316public class Earthhack implements Globals
1417{
@@ -24,14 +27,20 @@ public static void preInit()
2427 public static void init ()
2528 {
2629 LOGGER .info ("\n \n Initializing 3arthh4ck." );
27- Display .setTitle ("3arthh4ck - " + VERSION );
30+
31+ //noinspection InstantiationOfUtilityClass
32+ new IHMCJassimp (); // call static initializer
33+ NativeLibraryLoader .loadLibrary ("bullet" , "bullet" );
34+ Bullet .init ();
35+
36+ Display .setTitle (NAME + " - " + VERSION );
2837 Managers .load ();
2938 LOGGER .info ("\n 3arthh4ck initialized.\n " );
3039 }
3140
3241 public static void postInit ()
3342 {
34-
43+ // For Plugins if they need it.
3544 }
3645
3746 public static Logger getLogger ()
You can’t perform that action at this time.
0 commit comments