The method add(JsonElement) in the type JsonArray is not applicable for the arguments (Integer)
GoldenretriverYT opened this issue · 5 comments
GoldenretriverYT commented
In the metrics class, there are two errors.
Both are "The method add(JsonElement) in the type JsonArray is not applicable for the arguments (Integer)"
Lines:
661
705
DamonOnYT commented
Im getting the same error.
kratess commented
same error
GoldenretriverYT commented
same error
Im getting the same error.
I found a solution. Use this code (I tried a bit to fix it with GSON and it worked and don't forget to change the package name):
Bastian commented
What Bukkit/Spigot version are you using?
Teaflection commented
What Bukkit/Spigot version are you using?
I have the same problem, I use spigot 1.8.8