mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
Merge pull request #1329 from fedoraman737/pr1266
Update TileEntityReactorResearch.java - Bug Fix
This commit is contained in:
commit
674855ea4d
@ -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