mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2024-11-26 04:15:11 +01:00
Updated Power Ups (markdown)
parent
2cc90bd500
commit
6a58bd92e2
@ -25,7 +25,7 @@ floatingItem.setPickupHandler(new PickupHandler() {
|
||||
player.playEffect(floatingItem.getLocation(), Effect.MOBSPAWNER_FLAMES, null);
|
||||
|
||||
// 1 minute of fire resistance
|
||||
player.addPotionEffect(new PotionEffect(PotionEffectType.FIRE_RESISTANCE, 60 * 20, 1));
|
||||
player.addPotionEffect(new PotionEffect(PotionEffectType.FIRE_RESISTANCE, 60 * 20, 0));
|
||||
|
||||
// Delete the hologram and the floating item
|
||||
floatingItem.delete();
|
||||
|
Loading…
Reference in New Issue
Block a user