Firearm Modifier

A few of us are having issues with reloading this after this Wipe. Would you please take a look at it for us? Every time it is reloaded/taken out and put back in. Or just trying to reload it gives us this Information in our Rust Admin.(00:26:40) | Error while compiling: FirearmModifier.cs(641,31): error CS1061: Type `ItemCraftTask' does not contain a definition for `owner' and no extension method `owner' of type `ItemCraftTask' could be found. Are you missing an assembly reference? We are not sure why this is happening and wonder if others are having the same issue? Thanks for any help with this. Dave

same here 

i will take a look at it in an hour, shouldnt be that hard to fix

Same :

FirearmModifier - Failed to compile: FirearmModifier.cs(641,31): error CS1061: Type `ItemCraftTask' does not contain a definition for `owner' and no extension method `owner' of type `ItemCraftTask' could be found. Are you missing an assembly reference?

on line 634 change it to this

private void OnItemCraftFinished(ItemCraftTask task, Item item, ItemCrafter crafter)

 

and line 639 to this

var player = crafter.owner.userID;

will compile and work as before

this is for version 1.6.0 so adjust the lines as needed

will this fix all plugins with this error code? or just this one 

if its related to OnItemCraftFinished then it should yes

ok roger thank u