Ok so you know how there's a e.getplayer(); so apparently in this event there isn't So how do i detect the player? becuase I wanna do something like if(!(e.getplayer() instanceof Player)) { return; } thx
@Tzipi https://hub.spigotmc.org/javadocs/s.../PotionSplashEvent.html#getAffectedEntities() Loop over those, check if a player.