Infinite snowballs Minecraft java?

Gu
7

I want that if you enter the / nolimit command, none of the 16 snowballs are lost when thrown. Infinite snowballs, so to speak. But only with this command.

how does it work?

Ja

With Java and the SpigotAPI?

Gu

I program with eclipse and use a spigot api

Ja

I would do that. Habs not tested now but should go

https://hastebin.com/...umixa.java

Gu

I will test it tomorrow morning. Thanks in advance. Your answer was very instructive 😀😅

cl

JavaScript is not Java. Eclipse has almost nothing to do with it.

cl

The code should actually work, but the question arises, why do you create a player variable in the PlayerInteractEvent if you don't use it anyway?

Gu

Everything goes thanks