aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/automation
diff options
context:
space:
mode:
authorDraknyte1 <Draknyte1@hotmail.com>2017-12-20 23:39:49 +1000
committerDraknyte1 <Draknyte1@hotmail.com>2017-12-20 23:39:49 +1000
commit5715a32d2901922503fd850f3a68503fb77467c3 (patch)
tree7e12520fbc23844e99493d55af4410a785538e35 /src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/automation
parent2a4795f65d98ff60a177d7d6a5552fd687d9f6e8 (diff)
downloadGT5-Unofficial-5715a32d2901922503fd850f3a68503fb77467c3.tar.gz
GT5-Unofficial-5715a32d2901922503fd850f3a68503fb77467c3.tar.bz2
GT5-Unofficial-5715a32d2901922503fd850f3a68503fb77467c3.zip
- Disabled some logging.
% Minor Project Clean-up, added missing Override annotations to 100+ methods & removed pointless casts. % Moved Logging to it's own class. $ Fixed Multi-block handling of Pollution. $ Fixed the GT 5.09 material enabler system. (From My Side, it's still borked on GTs). + Added a Dynamic Proxy invocation for IMaterialHandler. + Added an AutoMap data type, which is a Auto-incremental ID'd Hashmap wrapper.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/automation')
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/automation/GT_MetaTileEntity_TesseractGenerator.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/automation/GT_MetaTileEntity_TesseractGenerator.java b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/automation/GT_MetaTileEntity_TesseractGenerator.java
index 8a0248e85c..0208fcbd49 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/automation/GT_MetaTileEntity_TesseractGenerator.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/automation/GT_MetaTileEntity_TesseractGenerator.java
@@ -13,8 +13,8 @@ import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_BasicTank;
import gregtech.api.objects.GT_RenderedTexture;
import gregtech.api.util.GT_Config;
import gregtech.api.util.GT_Utility;
+import gtPlusPlus.api.objects.Logger;
import gtPlusPlus.core.lib.CORE;
-import gtPlusPlus.core.util.Utils;
import gtPlusPlus.core.util.player.PlayerUtils;
import gtPlusPlus.xmod.gregtech.common.blocks.textures.TexturesGtBlock;
import gtPlusPlus.xmod.gregtech.common.helpers.tesseract.TesseractHelper;
@@ -199,7 +199,7 @@ public class GT_MetaTileEntity_TesseractGenerator extends GT_MetaTileEntity_Basi
final float[] tCoords = GT_Utility.getClickedFacingCoords(aSide, aX, aY, aZ);
switch ((byte) ((byte) (int) (tCoords[0] * 2.0F) + (2 * (byte) (int) (tCoords[1] * 2.0F)))) {
case 0:
- Utils.LOG_WARNING("Freq. -1 | " + this.mFrequency);
+ Logger.WARNING("Freq. -1 | " + this.mFrequency);
try {
CORE.sTesseractGeneratorOwnershipMap.get(mOwner).remove(this.mFrequency);
} catch (Throwable t) {
@@ -208,7 +208,7 @@ public class GT_MetaTileEntity_TesseractGenerator extends GT_MetaTileEntity_Basi
break;
case 1:
- Utils.LOG_WARNING("Freq. +1 | " + this.mFrequency);
+ Logger.WARNING("Freq. +1 | " + this.mFrequency);
try {
CORE.sTesseractGeneratorOwnershipMap.get(mOwner).remove(this.mFrequency);
} catch (Throwable t) {
@@ -557,21 +557,21 @@ public class GT_MetaTileEntity_TesseractGenerator extends GT_MetaTileEntity_Basi
// Set owner
if (PlayerUtils.getPlayersUUIDByName(this.getBaseMetaTileEntity().getOwnerName()) != null) {
if (this.mOwner == null) {
- Utils.LOG_WARNING("Setting Generators Owner. 1");
+ Logger.WARNING("Setting Generators Owner. 1");
this.mOwner = PlayerUtils.getPlayersUUIDByName(this.getBaseMetaTileEntity().getOwnerName());
}
}
if (this.mFrequency != this.oFrequency) {
- Utils.LOG_WARNING("mFreq != oFreq");
+ Logger.WARNING("mFreq != oFreq");
if (getGeneratorEntity() == this) {
getGeneratorEntity(this.oFrequency);
this.getBaseMetaTileEntity().issueBlockUpdate();
- Utils.LOG_WARNING("this Gen == oFreq on map - do block update");
+ Logger.WARNING("this Gen == oFreq on map - do block update");
}
- Utils.LOG_WARNING("mFreq will be set to oFreq");
+ Logger.WARNING("mFreq will be set to oFreq");
this.oFrequency = this.mFrequency;
}
if ((this.getBaseMetaTileEntity().isAllowedToWork())
@@ -586,7 +586,7 @@ public class GT_MetaTileEntity_TesseractGenerator extends GT_MetaTileEntity_Basi
}
} else {
if (getGeneratorEntity(Integer.valueOf(this.mFrequency)) == this) {
- Utils.LOG_WARNING("this gen == mFreq on map - do block update");
+ Logger.WARNING("this gen == mFreq on map - do block update");
TesseractHelper.removeGenerator(PlayerUtils.getPlayerOnServerFromUUID(mOwner), this.mFrequency);
this.getBaseMetaTileEntity().issueBlockUpdate();
}
@@ -700,7 +700,7 @@ public class GT_MetaTileEntity_TesseractGenerator extends GT_MetaTileEntity_Basi
if (this.getBaseMetaTileEntity().getOwnerName() != null
&& !this.getBaseMetaTileEntity().getOwnerName().equals("")) {
this.mOwner = PlayerUtils.getPlayersUUIDByName(this.getBaseMetaTileEntity().getOwnerName());
- Utils.LOG_WARNING("Setting Generators Owner. 2");
+ Logger.WARNING("Setting Generators Owner. 2");
}
super.onCreated(aStack, aWorld, aPlayer);
}