potionReference = new WeakReference<>(potion); potion.teleport(location); potion.setShooter((LivingEntity)source); Object potionHandle = getHandle(potion);
potionReference = new WeakReference<>(potion); potion.teleport(location); potion.setShooter((LivingEntity)source); Object potionHandle = getHandle(potion);