how did i add forge version of cas and not neoforge
This commit is contained in:
parent
b38d34860c
commit
8bc326f082
@ -24,7 +24,7 @@ kommons_version=3.1.0
|
||||
jei_version=19.0.0.11
|
||||
jupiter_version=5.9.2
|
||||
curios_version=9.0.5
|
||||
cosmetic_armor_reworked_id=5427314
|
||||
cosmetic_armor_reworked_id=5427303
|
||||
ad_astra_id=4594155
|
||||
botarium_id=4594094
|
||||
resourceful_lib_id=4598948
|
||||
|
@ -167,8 +167,8 @@ class CosmeticToggleButton<out S : Screen>(
|
||||
else -> throw IllegalArgumentException()
|
||||
}
|
||||
|
||||
override fun onClick(clickButton: Int) {
|
||||
if (clickButton == InputConstants.MOUSE_BUTTON_LEFT) {
|
||||
override fun onClick(mouseButton: Int) {
|
||||
if (mouseButton == InputConstants.MOUSE_BUTTON_LEFT) {
|
||||
val inv = ModObjects.invMan.getCosArmorInventoryClient(minecraft.player?.uuid ?: throw ConcurrentModificationException())
|
||||
inv.setSkinArmor(index, !inv.isSkinArmor(index))
|
||||
ModObjects.network.sendToServer(PacketSetSkinArmor(index, inv.isSkinArmor(index)))
|
||||
|
Loading…
Reference in New Issue
Block a user