mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
Merge pull request #1151 from re7gog/master
Fixes for Crucible (Thermos fork)
This commit is contained in:
commit
540183181f
@ -153,8 +153,10 @@ public class PollutionHandler {
|
||||
|
||||
public String getDataDir(WorldServer world) {
|
||||
String dir = world.getSaveHandler().getWorldDirectory().getAbsolutePath();
|
||||
if(world.provider.dimensionId != 0) {
|
||||
dir += File.separator + "DIM" + world.provider.dimensionId;
|
||||
// Crucible and probably Thermos provide dimId by themselves
|
||||
String dimId = File.separator + "DIM" + world.provider.dimensionId;
|
||||
if(world.provider.dimensionId != 0 && !dir.endsWith(dimId)) {
|
||||
dir += dimId;
|
||||
}
|
||||
dir += File.separator + "data";
|
||||
return dir;
|
||||
|
||||
@ -959,8 +959,8 @@ public class MainRegistry {
|
||||
config.save();
|
||||
|
||||
try {
|
||||
if(GeneralConfig.enableThermosPreventer && Class.forName("thermos.Thermos") != null) {
|
||||
throw new IllegalStateException("The mod tried to start on a Thermos server and therefore stopped. To allow the server to start on Thermos, change the appropriate "
|
||||
if(GeneralConfig.enableThermosPreventer && Class.forName("thermos.ThermosClassTransformer") != null) {
|
||||
throw new IllegalStateException("The mod tried to start on a Thermos or it's fork server and therefore stopped. To allow the server to start on Thermos, change the appropriate "
|
||||
+ "config entry (0.00 in hbm.cfg). This was done because, by default, Thermos "
|
||||
+ "uses a so-called \"optimization\" feature that reduces tile ticking a lot, which will inevitably break a lot of machines. Most people aren't even aware "
|
||||
+ "of this, and start blaming random mods for all their stuff breaking. In order to adjust or even disable this feature, edit \"tileentities.yml\" in your "
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user