Make Bouncer allow Bottomless Honey Buckets
This commit is contained in:
parent
4189b4ab1f
commit
bf53c3313c
1 changed files with 5 additions and 1 deletions
|
|
@ -1544,6 +1544,10 @@ namespace TShockAPI
|
|||
{
|
||||
bucket = 6;
|
||||
}
|
||||
else if (selectedItemType == ItemID.BottomlessHoneyBucket)
|
||||
{
|
||||
bucket = 7;
|
||||
}
|
||||
|
||||
if (!wasThereABombNearby && type == LiquidType.Lava && !(bucket == 2 || bucket == 0 || bucket == 5 || bucket == 6))
|
||||
{
|
||||
|
|
@ -1585,7 +1589,7 @@ namespace TShockAPI
|
|||
return;
|
||||
}
|
||||
|
||||
if (!wasThereABombNearby && type == LiquidType.Honey && !(bucket == 3 || bucket == 0))
|
||||
if (!wasThereABombNearby && type == LiquidType.Honey && !(bucket == 3 || bucket == 0 || bucket == 7))
|
||||
{
|
||||
TShock.Log.ConsoleDebug("Bouncer / OnLiquidSet rejected bucket check 4 from {0}", args.Player.Name);
|
||||
args.Player.SendErrorMessage("You do not have permission to perform this action.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue