25 lines
633 B
C#
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;
|
|
}
|
|
}
|
|
}
|