If you try to repair metal window bars you get a error for the following hook:
OnStructureRepair
[05/12/2016 23:58:28] [Oxide] 23:58 [Error] Failed to call hook 'OnStructureRepair' on plugin 'DecaySystem v0.0.0' (InvalidCastException: Cannot cast from source type to destination type.)
object OnStructureRepair(BuildingBlock Block, BasePlayer Player)
{
return null;
}
Solved OnStructureRepair invalid cast exception (outdated plugin)
Discussion in 'Rust Discussion' started by Inofix, May 14, 2016.
-
Wulf Community Admin
The plugin would have to update, the hook changed due to the Rust update. It uses BaseCombatEntity right now instead of BuildingBlock.
-
-
Wulf Community Admin