Update GetDataHandlers.cs
Correct the mistakes caused by my carelessness.
This commit is contained in:
parent
66379a4a17
commit
678f18b827
1 changed files with 2 additions and 2 deletions
|
|
@ -3840,7 +3840,7 @@ namespace TShockAPI
|
||||||
|
|
||||||
if (!args.Player.HasPermission(Permissions.magicconch))
|
if (!args.Player.HasPermission(Permissions.magicconch))
|
||||||
{
|
{
|
||||||
if (args.Player.ItemInHand.type == ItemID.ShellphoneOcean || args.Player.SelectedItem.type != ItemID.ShellphoneOcean)
|
if (args.Player.ItemInHand.type == ItemID.ShellphoneOcean || args.Player.SelectedItem.type == ItemID.ShellphoneOcean)
|
||||||
{
|
{
|
||||||
Fail("the Shellphone (Ocean)");
|
Fail("the Shellphone (Ocean)");
|
||||||
}
|
}
|
||||||
|
|
@ -3863,7 +3863,7 @@ namespace TShockAPI
|
||||||
|
|
||||||
if (!args.Player.HasPermission(Permissions.demonconch))
|
if (!args.Player.HasPermission(Permissions.demonconch))
|
||||||
{
|
{
|
||||||
if (args.Player.ItemInHand.type == ItemID.ShellphoneHell || args.Player.SelectedItem.type != ItemID.ShellphoneHell)
|
if (args.Player.ItemInHand.type == ItemID.ShellphoneHell || args.Player.SelectedItem.type == ItemID.ShellphoneHell)
|
||||||
{
|
{
|
||||||
Fail("the Shellphone (Underworld)");
|
Fail("the Shellphone (Underworld)");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue