Files
7d2dXG/Mods/zzz_REBIRTH__Utils/Harmony/Harmony_BlockSpeakerTrader.cs
Nathaniel Cosford e06f2bd282 Add All Mods
2025-05-29 23:33:28 +09:30

25 lines
633 B
C#

namespace Harmony.BlockSpeakerTraderPatches
{
[HarmonyPatch(typeof(BlockSpeakerTrader))]
[HarmonyPatch("PlayOpen")]
public class PlayOpenPatch
{
private static bool Prefix(Vector3i _blockPos)
{
//Log.Out("BlockSpeakerTraderPatches-PlayOpen START");
return false;
}
}
[HarmonyPatch(typeof(BlockSpeakerTrader))]
[HarmonyPatch("PlayClose")]
public class PlayClosePatch
{
private static bool Prefix(Vector3i _blockPos)
{
//Log.Out("BlockSpeakerTraderPatches-PlayClose START");
return false;
}
}
}