Beispiel #1
0
 private void Player_DropTombstone(On.Terraria.Player.orig_DropTombstone orig, Terraria.Player self, int coinsOwned, Terraria.Localization.NetworkText deathText, int hitDirection)
 {
     if (!PboneUtilsConfig.Instance.NoMoreGraves)
     {
         orig(self, coinsOwned, deathText, hitDirection);
     }
 }
Beispiel #2
0
 public static void DropTombstoneHook(On.Terraria.Player.orig_DropTombstone orig, Player self, int coinowned, NetworkText deathText, int hitDirection)
 {
     if (!Subworld.IsActive <DreamBattleWorld>())
     {
         orig.Invoke(self, coinowned, deathText, hitDirection);
     }
 }