Пример #1
0
 private void Main_DrawTiles(On.Terraria.Main.orig_DrawTiles orig, Main self, bool solidOnly, int waterStyleOverride)
 {
     if (!TBAR.Instance.DisableTileDraw)
     {
         orig.Invoke(self, solidOnly, waterStyleOverride);
     }
 }
 private void OffsetDrawing(On.Terraria.Main.orig_DrawTiles orig, Main self, bool solidOnly, int waterStyleOverride)
 {
     orig(self, solidOnly, waterStyleOverride);
 }