I'm currently storing data in egg's custom name for further usage. I'm setting it up in the EggThrowEvent and taking info at ProjectileHitEvent and it returns null. Here's my code And there is a "null" in console, what's wrong with my code?
Make a list<uuid> in the class, on throw: add the egg, on hit: check if egg is in the list, if so: spawn tnt, remove uuid from list