test: initialize Bullet for [Headless]Environment
Fixes
package org.terasology.engine;
+import com.badlogic.gdx.physics.bullet.Bullet;
import com.google.common.collect.Sets;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.terasology.assets.management.AssetManager;
import org.terasology.engine.context.Context;
import org.terasology.engine.context.internal.ContextImpl;
-import org.terasology.naming.Name;
+import org.terasology.engine.core.paths.PathManager;
import org.terasology.engine.recording.RecordAndReplayCurrentStatus;
import org.terasology.engine.registry.CoreRegistry;
+import org.terasology.naming.Name;
import java.io.IOException;
import java.util.Set;
@@ -61,6 +63,8 @@ protected void reset(Set<Name> moduleNames) throws Exception {
setupPathManager();
+ Bullet.init(true, false);
+
setupConfig();
setupModuleManager(moduleNames);
@@ -101,7 +105,7 @@ protected void setupComponentManager() {
}
protected void setupPathManager() throws IOException {
- // empty
+ PathManager.getInstance();
}
protected void setupModuleManager(Set<Name> moduleNames) throws Exception {
