Jannyboy11 / InvSee-plus-plus

A bukkit plugin for manipulating player inventories
Other
93 stars 17 forks source link

Item data values support on 1.8.8 and 1.12.2 #56

Closed Jannyboy11 closed 1 year ago

Jannyboy11 commented 1 year ago

On Bukkit 1.8.8 and 1.12.2 (before "The Flattening") InvSee++_Give and InvSee++_Clear should support specifying the data value of materials, so that items such as e.g. red wool can be given to players.

Jannyboy11 commented 1 year ago

I think the best cause of action is to accept the following syntax: /invgive JohnDoe wool:14 so that no extra parameter is created. If the colon and the number are omitted, no data value is set for the ItemStack.

Jannyboy11 commented 1 year ago

Fixed as of https://github.com/Jannyboy11/InvSee-plus-plus/commit/72b515695c6a24ce9080e4ee53f427ee6cc28cfd