BadCops Posted November 21, 2019 Share Posted November 21, 2019 I would like to remove the seed from the tree or change treePlantedWinterPine1m - treePlantedMountainPine1m - treePlantedOak1m to ressourFiber but my modlet do not work <config> <set xpath="/blocks/block/drop[@event=Destroy][@name=treePlantedWinterPine1m]/@count">0</set> <set xpath="/blocks/block/drop[@event=Destroy][@name=treePlantedMountainPine1m]/@count">0</set> <set xpath="/blocks/block/drop[@event=Destroy][@name=treePlantedOak1m]/@count">0</set> </config> what is wrong with my code Link to comment Share on other sites More sharing options...
kronons Posted November 21, 2019 Share Posted November 21, 2019 I would like to remove the seed from the tree or change treePlantedWinterPine1m - treePlantedMountainPine1m - treePlantedOak1m to ressourFiber but my modlet do not work <config> <set xpath="/blocks/block/drop[@event=Destroy][@name=treePlantedWinterPine1m]/@count">0</set> <set xpath="/blocks/block/drop[@event=Destroy][@name=treePlantedMountainPine1m]/@count">0</set> <set xpath="/blocks/block/drop[@event=Destroy][@name=treePlantedOak1m]/@count">0</set> </config> what is wrong with my code Your syntax is incorrect. It should be: <config> <set xpath="/blocks/block/drop[@event=Destroy' and @name='treePlantedWinterPine1m]/@count">0</set> <set xpath="/blocks/block/drop[@event=Destroy and @name='treePlantedMountainPine1m]/@count">0</set> <set xpath="/blocks/block/drop[@event=Destroy' and @name='treePlantedOak1m]/@count">0</set> </config> Link to comment Share on other sites More sharing options...
BadCops Posted November 22, 2019 Author Share Posted November 22, 2019 a nice thank you Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.