mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 22:22:26 +01:00
Fixed broken stanek error
This commit is contained in:
parent
0121fee6e4
commit
58be301d06
@ -26,7 +26,7 @@ export function NetscriptStanek(
|
|||||||
): InternalAPI<IStanek> {
|
): InternalAPI<IStanek> {
|
||||||
function checkStanekAPIAccess(func: string): void {
|
function checkStanekAPIAccess(func: string): void {
|
||||||
if (!player.hasAugmentation(AugmentationNames.StaneksGift1, true)) {
|
if (!player.hasAugmentation(AugmentationNames.StaneksGift1, true)) {
|
||||||
helper.makeRuntimeErrorMsg(func, "Requires Stanek's Gift installed.");
|
throw helper.makeRuntimeErrorMsg(func, "Stanek's Gift is not installed");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user