why did i not do this earlier

This commit is contained in:
Voxelstice 2023-01-16 18:29:23 +03:00 committed by GitHub
parent 1c0006ba39
commit 830f742ac0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,13 +131,13 @@ public abstract class TileEntityRBMKControl extends TileEntityRBMKSlottedBase im
@Callback
@Optional.Method(modid = "OpenComputers")
public Object[] getLevel(Context context, Arguments args) {
return new Object[] {getMult()};
return new Object[] {getMult() * 100};
}
@Callback
@Optional.Method(modid = "OpenComputers")
public Object[] getTargetLevel(Context context, Arguments args) {
return new Object[] {targetLevel};
return new Object[] {targetLevel * 100};
}