Skip to content

Commit

Permalink
Remove override CreateItem
Browse files Browse the repository at this point in the history
  • Loading branch information
robincodex committed Jun 17, 2024
1 parent 85c8b1c commit 3434bea
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions build/lua/overrides.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,6 @@ export const overrides: Record<string, ApiOverride> = {
},
},

CreateItem: {
args: {
purchaser: 'CDOTA_BaseNPC_Hero | undefined',
},
},
EntIndexToHScript: {
generics: [{ name: 'T', extend: 'CBaseEntity = CBaseEntity' }],
return: 'T | undefined',
Expand Down
2 changes: 1 addition & 1 deletion packages/dota-lua-types/types/api.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9703,7 +9703,7 @@ declare function CreateIllusions(
declare function CreateItem(
itemName: string,
owner: CDOTAPlayerController | undefined,
purchaser: CDOTA_BaseNPC_Hero | undefined,
purchaser: CDOTAPlayerController | undefined,
): CDOTA_Item | undefined;

/**
Expand Down

0 comments on commit 3434bea

Please sign in to comment.