Files
zzz_REBIRTH__Utils/Harmony/Harmony_BlockSpeakerTrader.cs
2025-06-04 16:44:53 +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;
}
}
}