mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
Merge pull request #3903 from phil235/HardHatUpdateFix
Fixes hard hat sprites not updating
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
on = !on
|
||||
icon_state = "hardhat[on]_[item_color]"
|
||||
item_state = "hardhat[on]_[item_color]"
|
||||
user.update_inv_head() //so our mob-overlays update
|
||||
|
||||
if(on) user.AddLuminosity(brightness_on)
|
||||
else user.AddLuminosity(-brightness_on)
|
||||
|
||||
Reference in New Issue
Block a user