Jump to content

Error with new version

Closed 2.0.1

BetterDeadThanZed
  • in Ganja
BetterDeadThanZed

Posted (edited)

When gathering hemp, I am getting this error and I don't find any weed:

 

Ganja v2.0.1: Failed to call hook OnCollectiblePickup(CollectibleEntity, BasePlayer):
System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType (System.Object value, System.Type conversionType, System.IFormatProvider provider) [0x00029] in <fb001e01371b4adca20013e0ac763896>:0
at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x0000c] in <fb001e01371b4adca20013e0ac763896>:0
at Oxide.Core.Plugins.Plugin.Call[T] (System.String hook, System.Object[] args) [0x00008] in <bae5f1223fce49c493b01571c99dce02>:0
at Oxide.Plugins.Ganja.IsDeployableNature (BaseEntity entity) [0x00011] in <3bfb2801185a463a8315098c4518d31f>:0
at Oxide.Plugins.Ganja.OnCollectiblePickup (CollectibleEntity entity, BasePlayer player) [0x00029] in <3bfb2801185a463a8315098c4518d31f>:0
at Oxide.Plugins.Ganja.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x005df] in <3bfb2801185a463a8315098c4518d31f>:0
at OxidePerfCounter.main.HookPerformance (Oxide.Core.Plugins.HookMethod method, System.Object[] args, Oxide.Plugins.CSharpPlugin __instance, System.Object& __result) [0x0009c] in <b3fa7a63aa764ffb9f048e13be62c298>:0

If I unload Deployable Nature, this error goes away and I'm able to find weed.

Edited by BetterDeadThanZed
The_Kiiiing

Posted

Sorry for the late reply, I will release a fix for this in a few days

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

2m

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.