Zarius / Bukkit-OtherBlocks

OtherBlocks (now known as OtherDrops) plugin for Bukkit (dev build: https://www.mediafire.com/?i6ows1g6kus2o0l)
http://dev.bukkit.org/server-mods/otherdrops/
GNU General Public License v3.0
17 stars 17 forks source link

Number placeholders not working in lore. #303

Closed charlie1990 closed 9 years ago

charlie1990 commented 10 years ago

Placeholders that only contain numbers aren't working in lore, they work fine in item names though.

In the example below that command will produce an item named "diamond rapier, diamond sword or diamond dagger" that part works correctly, however, in the lore part the <'1|2|3|4|5'> Does not work, it simply prints that onto the lore instead of selecting one of the numbers.

/odd DIAMOND_SWORD~&aDiamond <'rapier|sword|dagger'>;&b ;&5---&6Stats&5---;&7+<'1|2|3|4|5'> Critical Rate

charlie1990 commented 10 years ago

Also, the single quotes inside the < > aren't actually there, I used them to escape github not liking the placeholders for some reason.

charlie1990 commented 10 years ago

This is only happening with numbers too. <'This|works|correctly.>

charlie1990 commented 10 years ago

Heres the console debug too.

[20:46:27 INFO]: charlie_boi issued server command: /odd DIAMOND_SWORD~&a+<36|4> Diamond <rapier|sword|dagger>;&b+<1|2|3|4|5> Critical Rate [20:46:27 INFO]: [OtherDrops:2.8b.580] MATCHED: 36|4 [20:46:27 INFO]: [OtherDrops:2.8b.580] MATCHED: rapier|sword|dagger