quantum-space-buddies/QSB/Utility/QSBExtensions.cs
2020-08-09 19:33:36 +01:00

18 lines
353 B
C#

namespace QSB.Utility
{
public static class QSBExtensions
{
public static void ChangeEquipState(this PlayerTool tool, bool equipState)
{
if (equipState)
{
tool.EquipTool();
}
else
{
tool.UnequipTool();
}
}
}
}