Jump to content

A18 Help Modlet


BadCops

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...