Jump to content

Compile Issue ('BaseEntity' cannot be handled by a pattern of type 'HumanNPC')

Pending 0.2.2

Shane156
Shane156

Posted

Hi,

For me, on oxide, this plugin never loads on server start, I get this error:

107 RoamingNPCs - Failed to compile: An expression of type 'BaseEntity' cannot be handled by a pattern of type 'HumanNPC'. | Line: 1418, Pos: 17

I asked CHATGPT why this happens, and how reloading it fixes it and it says you have to reference HumanNPC so that it's loaded before RoamingNPC

[Reference("HumanNPC")]

I asked chatgpt because I thought I'm the only one experiencing this, but I guess everyone else has this issue too?

Can you please look into this for me? as I have to current;y manually reload after every restart

Kind Regards

2.1m

Downloads

Total number of downloads.

9.8k

Customers

Total customers served.

141.9k

Files Sold

Total number of files sold.

3m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.