explicit interface go brrrr

This commit is contained in:
Paul
2021-02-04 17:44:49 +01:00
parent 5f6d2d50ba
commit d5cd82de60
148 changed files with 285 additions and 206 deletions

View File

@@ -37,7 +37,7 @@ namespace Content.Server.GameObjects.Components.Nutrition
CreamPied = false;
}
public ReagentUnit ReagentReactTouch(ReagentPrototype reagent, ReagentUnit volume)
ReagentUnit IReagentReaction.ReagentReactTouch(ReagentPrototype reagent, ReagentUnit volume)
{
switch (reagent.ID)
{
@@ -50,7 +50,7 @@ namespace Content.Server.GameObjects.Components.Nutrition
return ReagentUnit.Zero;
}
public void HitBy(ThrowCollideEventArgs eventArgs)
void IThrowCollide.HitBy(ThrowCollideEventArgs eventArgs)
{
if (!eventArgs.Thrown.HasComponent<CreamPieComponent>() || CreamPied) return;