Cybermaxke / MerchantsAPI

A simple merchants api for the bukkit api.
GNU Lesser General Public License v3.0
6 stars 2 forks source link

Open merchant inventory #13

Open PaulTDD-MC opened 6 years ago

PaulTDD-MC commented 6 years ago

Hello,

First of all, thanks for the great work! However, I've got a question.

I'm trying to open the merchant inventory. I used the following code: merchant.addCustomer(player); should the inventory open instantly or do I have to do this with a event or something?

Greetings 😄

elgbar commented 6 years ago

It should open automatically, look at the source and you can see that a packets are being sent to the player opening a gui.

PaulTDD-MC commented 6 years ago

mhm I'll look and check for any erros on my side.

elgbar commented 6 years ago

You can look at my project, if you want to compare your code the a working one.