Set amount to 1 in Default Icon Contructor

This fixes the API. Otherwise Icons are invisible
This commit is contained in:
I9hdkill 2019-05-07 20:46:41 +02:00
parent b4b74053eb
commit 8565cca795
No known key found for this signature in database
GPG Key ID: 6C774D01E4718B01

View File

@ -60,6 +60,7 @@ public class Icon {
public Icon() {
enchantments = new HashMap<Enchantment, Integer>();
closeOnClick = true;
amount = 1;
}
public boolean hasVariables() {