LMBishop / CommandToItem

Plugin for Spigot which allows for the creation of customisable items which executed predefined commands.
GNU General Public License v3.0
3 stars 4 forks source link

Players are unable to hit signs with CommandToItem items #14

Open snowgears opened 2 years ago

snowgears commented 2 years ago

This prevents them from being able to initialize signs on shops with any items from CommandToItem.

This could be solved by allowing LEFT_CLICK_BLOCK while holding one of your items

Proposed fix:

if (item != null) {
     if (event.getAction() != Action.LEFT_CLICK_BLOCK)
           event.setCancelled(true);
     if (event.getAction() != Action.RIGHT_CLICK_AIR && event.getAction() != Action.RIGHT_CLICK_BLOCK) {
          return;
     }
Wastinqs commented 1 year ago

Any news on here?

Wastinqs commented 1 year ago

Are there any updates for this?

Wastinqs commented 1 year ago

Hows the state?

Wastinqs commented 1 year ago

Updates?

Wastinqs commented 1 year ago

Waiting for decades now...

Wastinqs commented 1 year ago

Updates?

Wastinqs commented 1 year ago

Any alternative plugins that work with Shop?

Wastinqs commented 1 year ago

I'll change to another plugin. This is getting disgusting.