aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/core/slots/SlotGtTool.java
diff options
context:
space:
mode:
authorAlkalus <draknyte1@hotmail.com>2017-11-14 23:36:13 +1000
committerAlkalus <draknyte1@hotmail.com>2017-11-14 23:36:13 +1000
commitb025896cf3cb12d0c0369fc490b23cd90e064cea (patch)
tree1f499076def393f760610ace9716a12c1f8fd80f /src/Java/gtPlusPlus/core/slots/SlotGtTool.java
parent390ac495e051df79017840504912adda10b04584 (diff)
downloadGT5-Unofficial-b025896cf3cb12d0c0369fc490b23cd90e064cea.tar.gz
GT5-Unofficial-b025896cf3cb12d0c0369fc490b23cd90e064cea.tar.bz2
GT5-Unofficial-b025896cf3cb12d0c0369fc490b23cd90e064cea.zip
% Formatting.
Diffstat (limited to 'src/Java/gtPlusPlus/core/slots/SlotGtTool.java')
-rw-r--r--src/Java/gtPlusPlus/core/slots/SlotGtTool.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Java/gtPlusPlus/core/slots/SlotGtTool.java b/src/Java/gtPlusPlus/core/slots/SlotGtTool.java
index a2fd83baee..cfa501eb1e 100644
--- a/src/Java/gtPlusPlus/core/slots/SlotGtTool.java
+++ b/src/Java/gtPlusPlus/core/slots/SlotGtTool.java
@@ -6,7 +6,7 @@ import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;
-public class SlotGtTool extends Slot{
+public class SlotGtTool extends Slot {
public SlotGtTool(final IInventory inventory, final int x, final int y, final int z) {
super(inventory, x, y, z);
@@ -15,11 +15,11 @@ public class SlotGtTool extends Slot{
@Override
public boolean isItemValid(final ItemStack itemstack) {
- if (itemstack.getItem() instanceof GT_MetaGenerated_Tool){
- Utils.LOG_WARNING(itemstack.getDisplayName()+" is a valid Tool.");
+ if (itemstack.getItem() instanceof GT_MetaGenerated_Tool) {
+ Utils.LOG_WARNING(itemstack.getDisplayName() + " is a valid Tool.");
return true;
}
- Utils.LOG_WARNING(itemstack.getDisplayName()+" is not a valid Tool.");
+ Utils.LOG_WARNING(itemstack.getDisplayName() + " is not a valid Tool.");
return false;
}