mirror of
https://github.com/GTNewHorizons/Electro-Magic-Tools.git
synced 2026-11-21 20:42:14 +00:00
Buff solar helmet of revealing (#36)
This commit is contained in:
1 parent
dcb7f23091
commit
c07eb27064
1 file changed
+3
-3
@@ -34,8 +34,8 @@ public class ItemSolarHelmetRevealing extends ItemQuantumGoggles {
|
||||
this.setMaxStackSize(1);
|
||||
this.setCreativeTab(EMT.TAB);
|
||||
// this.maxCharge = 20000000; //REALLY?
|
||||
this.genDay = 65536;
|
||||
this.genNight = 4096;
|
||||
this.genDay = 2048;
|
||||
this.genNight = 128;
|
||||
maxCharge = 20000000;
|
||||
visDiscount = 8;
|
||||
tier = 4;
|
||||
@@ -77,7 +77,7 @@ public class ItemSolarHelmetRevealing extends ItemQuantumGoggles {
|
||||
}
|
||||
|
||||
if (worldObj.canBlockSeeTheSky((int) player.posX, (int) player.posY + 1, (int) player.posZ) && !worldObj.isRaining()) {
|
||||
double enerj = (worldObj.isDaytime() ? (double) genDay : (double) genNight) / 12000D;
|
||||
double enerj = worldObj.isDaytime() ? (double) genDay : (double) genNight;
|
||||
|
||||
for (int i = 0; i < player.inventory.armorInventory.length; i++) {
|
||||
if (enerj > 0) {
|
||||
|
||||
Reference in new issue
Block a user