if (potion == null) { potion = (ThrownPotion) location.getWorld().spawnEntity(location, EntityType.SPLASH_POTION); potion.remove(); potionReference = new WeakReference<>(potion);
if (potion == null) { potion = (ThrownPotion) location.getWorld().spawnEntity(location, EntityType.SPLASH_POTION); potion.remove(); potionReference = new WeakReference<>(potion);