Upload from upload_mods.ps1
This commit is contained in:
24
Harmony/Harmony_BlockSpeakerTrader.cs
Normal file
24
Harmony/Harmony_BlockSpeakerTrader.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user