Fix typo in OC driver
This commit is contained in:
parent
c6d8a8abcb
commit
36e934ae6a
1 changed files with 2 additions and 2 deletions
|
@ -88,8 +88,8 @@ public class DriverMachine implements DriverBlock {
|
|||
return getObjects(machine.getMaxOutput());
|
||||
}
|
||||
|
||||
@Callback(value = "canBeUprgaded", getter = true, doc = "Returns true if the machine can be upgraded")
|
||||
public Object[] canBeUprgaded(Context context, Arguments arguments) throws Exception {
|
||||
@Callback(value = "canBeUprgraded", getter = true, doc = "Returns true if the machine can be upgraded")
|
||||
public Object[] canBeUprgraded(Context context, Arguments arguments) throws Exception {
|
||||
return getObjects(machine instanceof IUpgradeable && machine.canBeUpgraded());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue