Fix CanUseHealItems GameRule

This commit is contained in:
JappaWakka 2023-02-26 12:37:29 +01:00
parent 6dd4750770
commit 4a38a43e1f
20 changed files with 20 additions and 20 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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