Origins (Fabric)

Origins (Fabric)

15M Downloads

Conditions don't work on power "modify_swim_speed"

GlitchyMess opened this issue ยท 0 comments

commented
{
	"type": "origins:modify_swim_speed",
	"modifier": {
		"name": "swim uwu",
		"value": 2,
		"operation": "addition"
	},
	"condition": {
		"type": "origins:equipped_item",
		"equipment_slot": "mainhand",
		"item_condition": {
			"type": "origins:ingredient",
			"ingredient": {
				"item": "minecraft:iron_shovel"
			}
		}
	}
}

For some reason, conditions don't seem to work with "modify_swim_speed".

In this example, it is supposed to only modify it when the player is holding an iron shovel, but it does it anyway.