public override void OnBlockRemoved() { base.OnBlockRemoved(); if (ingotRenderer != null) { ingotRenderer.Unregister(); ingotRenderer = null; } }
public override void OnBlockUnloaded() { base.OnBlockUnloaded(); ingotRenderer?.Unregister(); }
public override void OnBlockRemoved() { base.OnBlockRemoved(); if (ingotRenderer != null) { ingotRenderer.Unregister(); ingotRenderer = null; } }
public override void OnBlockUnloaded() { base.OnBlockUnloaded(); ingotRenderer?.Unregister(); }