Fixed logs for radar and breathing
This commit is contained in:
parent
63dcfc5f7e
commit
2a1fc2ad37
2 changed files with 4 additions and 2 deletions
|
@ -92,6 +92,7 @@ public class WarpDriveConfig {
|
|||
public static boolean LOGGING_TRANSPORTER = false;
|
||||
public static boolean LOGGING_LUA = false;
|
||||
public static boolean LOGGING_RADAR = false;
|
||||
public static boolean LOGGING_BREATHING = false;
|
||||
|
||||
// Transition planes
|
||||
public static TransitionPlane[] G_TRANSITIONPLANES = null;
|
||||
|
@ -279,7 +280,8 @@ public class WarpDriveConfig {
|
|||
LOGGING_COLLECTION = config.get("Logging", "enable_collection_logs", LOGGING_COLLECTION, "Detailled collection logs to help debug the mod, enable it before reporting a bug").getBoolean(false);
|
||||
LOGGING_TRANSPORTER = config.get("Logging", "enable_transporter_logs", LOGGING_TRANSPORTER, "Detailled transporter logs to help debug the mod, enable it before reporting a bug").getBoolean(false);
|
||||
LOGGING_LUA = config.get("Logging", "enable_LUA_logs", LOGGING_LUA, "Detailled LUA logs to help debug the mod, enable it before reporting a bug").getBoolean(false);
|
||||
LOGGING_RADAR = config.get("Logging", "enable_LUA_logs", LOGGING_RADAR, "Detailled radar logs to help debug the mod, enable it before reporting a bug").getBoolean(false);
|
||||
LOGGING_RADAR = config.get("Logging", "enable_radar_logs", LOGGING_RADAR, "Detailled radar logs to help debug the mod, enable it before reporting a bug").getBoolean(false);
|
||||
LOGGING_BREATHING = config.get("Logging", "enable_breathing_logs", LOGGING_BREATHING, "Detailled breathing logs to help debug the mod, enable it before reporting a bug").getBoolean(false);
|
||||
|
||||
// TransitionPlane
|
||||
config.addCustomCategoryComment("TransitionPlane",
|
||||
|
|
|
@ -49,7 +49,7 @@ public class ItemHelmet extends ItemArmor implements IBreathingHelmet {
|
|||
|
||||
@Override
|
||||
public boolean removeAir(Entity player) {
|
||||
if (WarpDriveConfig.G_LOGGING_BREATHING) {
|
||||
if (WarpDriveConfig.LOGGING_BREATHING) {
|
||||
WarpDrive.logger.info("Checking breathing!");
|
||||
}
|
||||
if (player instanceof EntityPlayerMP) {
|
||||
|
|
Loading…
Add table
Reference in a new issue