Skip to content

Commit

Permalink
Added pumpkin launcher to the prevent placing weapons feature (#437)
Browse files Browse the repository at this point in the history
  • Loading branch information
jani270 authored Dec 29, 2023
1 parent 9f26a83 commit f426795
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/kotlin/gg/skytils/skytilsmod/core/Config.kt
Original file line number Diff line number Diff line change
Expand Up @@ -1421,7 +1421,7 @@ object Config : Vigilant(

@Property(
type = PropertyType.SWITCH, name = "Prevent Placing Weapons",
description = "Stops the game from trying to place the Flower of Truth, Moody Grappleshot, Spirit Sceptre, and Weird Tuba items.",
description = "Stops the game from trying to place the Flower of Truth, Moody Grappleshot, Spirit Sceptre, Pumpkin Launcher and Weird Tuba items.",
category = "Miscellaneous", subcategory = "Items"
)
var preventPlacingWeapons = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,8 @@ object ItemFeatures {
"BAT_WAND",
"STARRED_BAT_WAND",
"WEIRD_TUBA",
"WEIRDER_TUBA"
"WEIRDER_TUBA",
"PUMPKIN_LAUNCHER"
))
) {
val block = mc.theWorld.getBlockState(event.pos)
Expand Down

0 comments on commit f426795

Please sign in to comment.