mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-02-24 15:00:48 +00:00
localization & input fixes, fuel radiation modifier changed
This commit is contained in:
parent
ffce09b080
commit
aa7e20f3e2
@ -18,7 +18,7 @@ float target;
|
||||
|
||||
if(stack.getItem() instanceof ItemFuelRod) {
|
||||
ItemFuelRod fuel = (ItemFuelRod) stack.getItem();
|
||||
double depletion = fuel.getDurabilityForDisplay(stack);
|
||||
double depletion = Math.pow(fuel.getDurabilityForDisplay(stack), 0.4D);
|
||||
|
||||
level = (float) (level + (this.target - level) * depletion);
|
||||
|
||||
|
||||
@ -111,7 +111,7 @@ public class TileEntityReactorZirnox extends TileEntityMachineBase implements IF
|
||||
ItemStack stack = inv.getStackInSlot(i);
|
||||
if(stack != null && stack.getItem() instanceof ItemZirnoxRod) {
|
||||
|
||||
for(int j = 0; j < 23; j++) {
|
||||
for(int j = 0; j < 24; j++) {
|
||||
//ZIRNOX rods cannot stack higher than 1 anyway
|
||||
if(slots[j] == null) {
|
||||
slots[j] = stack.copy();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user