Fix CanUseHealItems GameRule
This commit is contained in:
parent
6dd4750770
commit
4a38a43e1f
|
@ -21,7 +21,7 @@ Namespace Items.Berries
|
|||
End Sub
|
||||
|
||||
Public Overrides Sub Use()
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItem", "1")) = False Then
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItems", "1")) = False Then
|
||||
Screen.TextBox.Show("Cannot use heal items.", {}, False, False)
|
||||
Exit Sub
|
||||
End If
|
||||
|
|
|
@ -19,7 +19,7 @@ Namespace Items.Berries
|
|||
End Sub
|
||||
|
||||
Public Overrides Sub Use()
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItem", "1")) = False Then
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItems", "1")) = False Then
|
||||
Screen.TextBox.Show("Cannot use heal items.", {}, False, False)
|
||||
Exit Sub
|
||||
End If
|
||||
|
|
|
@ -14,7 +14,7 @@ Namespace Items.Medicine
|
|||
End Sub
|
||||
|
||||
Public Overrides Sub Use()
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItem", "1")) = False Then
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItems", "1")) = False Then
|
||||
Screen.TextBox.Show("Cannot use heal items.", {}, False, False)
|
||||
Exit Sub
|
||||
End If
|
||||
|
|
|
@ -14,7 +14,7 @@ Namespace Items.Medicine
|
|||
End Sub
|
||||
|
||||
Public Overrides Sub Use()
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItem", "1")) = False Then
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItems", "1")) = False Then
|
||||
Screen.TextBox.Show("Cannot use heal items.", {}, False, False)
|
||||
Exit Sub
|
||||
End If
|
||||
|
|
|
@ -14,7 +14,7 @@ Namespace Items.Medicine
|
|||
End Sub
|
||||
|
||||
Public Overrides Sub Use()
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItem", "1")) = False Then
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItems", "1")) = False Then
|
||||
Screen.TextBox.Show("Cannot use heal items.", {}, False, False)
|
||||
Exit Sub
|
||||
End If
|
||||
|
|
|
@ -14,7 +14,7 @@ Namespace Items.Medicine
|
|||
End Sub
|
||||
|
||||
Public Overrides Sub Use()
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItem", "1")) = False Then
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItems", "1")) = False Then
|
||||
Screen.TextBox.Show("Cannot use heal items.", {}, False, False)
|
||||
Exit Sub
|
||||
End If
|
||||
|
|
|
@ -14,7 +14,7 @@ Namespace Items.Medicine
|
|||
End Sub
|
||||
|
||||
Public Overrides Sub Use()
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItem", "1")) = False Then
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItems", "1")) = False Then
|
||||
Screen.TextBox.Show("Cannot use heal items.", {}, False, False)
|
||||
Exit Sub
|
||||
End If
|
||||
|
|
|
@ -14,7 +14,7 @@ Namespace Items.Medicine
|
|||
End Sub
|
||||
|
||||
Public Overrides Sub Use()
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItem", "1")) = False Then
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItems", "1")) = False Then
|
||||
Screen.TextBox.Show("Cannot use heal items.", {}, False, False)
|
||||
Exit Sub
|
||||
End If
|
||||
|
|
|
@ -14,7 +14,7 @@ Namespace Items.Medicine
|
|||
End Sub
|
||||
|
||||
Public Overrides Sub Use()
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItem", "1")) = False Then
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItems", "1")) = False Then
|
||||
Screen.TextBox.Show("Cannot use heal items.", {}, False, False)
|
||||
Exit Sub
|
||||
End If
|
||||
|
|
|
@ -14,7 +14,7 @@ Namespace Items.Medicine
|
|||
End Sub
|
||||
|
||||
Public Overrides Sub Use()
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItem", "1")) = False Then
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItems", "1")) = False Then
|
||||
Screen.TextBox.Show("Cannot use heal items.", {}, False, False)
|
||||
Exit Sub
|
||||
End If
|
||||
|
|
|
@ -14,7 +14,7 @@ Namespace Items.Medicine
|
|||
End Sub
|
||||
|
||||
Public Overrides Sub Use()
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItem", "1")) = False Then
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItems", "1")) = False Then
|
||||
Screen.TextBox.Show("Cannot use heal items.", {}, False, False)
|
||||
Exit Sub
|
||||
End If
|
||||
|
|
|
@ -14,7 +14,7 @@ Namespace Items.Medicine
|
|||
End Sub
|
||||
|
||||
Public Overrides Sub Use()
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItem", "1")) = False Then
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItems", "1")) = False Then
|
||||
Screen.TextBox.Show("Cannot use heal items.", {}, False, False)
|
||||
Exit Sub
|
||||
End If
|
||||
|
|
|
@ -14,7 +14,7 @@ Namespace Items.Medicine
|
|||
End Sub
|
||||
|
||||
Public Overrides Sub Use()
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItem", "1")) = False Then
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItems", "1")) = False Then
|
||||
Screen.TextBox.Show("Cannot use heal items.", {}, False, False)
|
||||
Exit Sub
|
||||
End If
|
||||
|
|
|
@ -15,7 +15,7 @@ Namespace Items.Medicine
|
|||
End Sub
|
||||
|
||||
Public Overrides Sub Use()
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItem", "1")) = False Then
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItems", "1")) = False Then
|
||||
Screen.TextBox.Show("Cannot use heal items.", {}, False, False)
|
||||
Exit Sub
|
||||
End If
|
||||
|
|
|
@ -14,7 +14,7 @@ Namespace Items.Medicine
|
|||
End Sub
|
||||
|
||||
Public Overrides Sub Use()
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItem", "1")) = False Then
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItems", "1")) = False Then
|
||||
Screen.TextBox.Show("Cannot use heal items.", {}, False, False)
|
||||
Exit Sub
|
||||
End If
|
||||
|
|
|
@ -14,7 +14,7 @@ Namespace Items.Medicine
|
|||
End Sub
|
||||
|
||||
Public Overrides Sub Use()
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItem", "1")) = False Then
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItems", "1")) = False Then
|
||||
Screen.TextBox.Show("Cannot use heal items.", {}, False, False)
|
||||
Exit Sub
|
||||
End If
|
||||
|
|
|
@ -14,7 +14,7 @@ Namespace Items.Medicine
|
|||
End Sub
|
||||
|
||||
Public Overrides Sub Use()
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItem", "1")) = False Then
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItems", "1")) = False Then
|
||||
Screen.TextBox.Show("Cannot use heal items.", {}, False, False)
|
||||
Exit Sub
|
||||
End If
|
||||
|
|
|
@ -14,7 +14,7 @@ Namespace Items.Medicine
|
|||
End Sub
|
||||
|
||||
Public Overrides Sub Use()
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItem", "1")) = False Then
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItems", "1")) = False Then
|
||||
Screen.TextBox.Show("Cannot use heal items.", {}, False, False)
|
||||
Exit Sub
|
||||
End If
|
||||
|
|
|
@ -14,7 +14,7 @@ Namespace Items.Medicine
|
|||
End Sub
|
||||
|
||||
Public Overrides Sub Use()
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItem", "1")) = False Then
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItems", "1")) = False Then
|
||||
Screen.TextBox.Show("Cannot use heal items.", {}, False, False)
|
||||
Exit Sub
|
||||
End If
|
||||
|
|
|
@ -14,7 +14,7 @@ Namespace Items.Medicine
|
|||
End Sub
|
||||
|
||||
Public Overrides Sub Use()
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItem", "1")) = False Then
|
||||
If CBool(GameModeManager.GetGameRuleValue("CanUseHealItems", "1")) = False Then
|
||||
Screen.TextBox.Show("Cannot use heal items.", {}, False, False)
|
||||
Exit Sub
|
||||
End If
|
||||
|
|
Loading…
Reference in New Issue