mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
Update TileEntityReactorResearch.java
Updated line 435 - last argument in clamp_double changed to 1.0
This commit is contained in:
parent
e5f2ae6860
commit
760d7e9456
@ -432,7 +432,7 @@ public class TileEntityReactorResearch extends TileEntityMachineBase implements
|
||||
@Optional.Method(modid = "OpenComputers")
|
||||
public Object[] setLevel(Context context, Arguments args) {
|
||||
double newLevel = args.checkDouble(0)/100.0;
|
||||
targetLevel = MathHelper.clamp_double(newLevel, 0, 100.0);
|
||||
targetLevel = MathHelper.clamp_double(newLevel, 0, 1.0);
|
||||
return new Object[] {};
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user