QUOTE: Be someone’s rainbow today.

Fixed format - poppy - A feature-rich Minecraft plugin which enhances gaming experience

poppy

A feature-rich Minecraft plugin which enhances gaming experience
git clone git://192.168.2.2/poppy
Log | Files | Refs | README

commit a5e09fcc8a17ebab2b6a0b843351e3d3ded9286d
parent b031652d5ed107c0f324252729dbe204aeb54d23
Author: typable <typable.dev@gmail.com>
Date:   Fri,  5 Mar 2021 20:13:28 +0100

Fixed format

Diffstat:
M.gitignore | 1+
Msrc/de/typable/minecrafthub/event/EventListener.java | 17++++++++---------
2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -3,3 +3,4 @@ *.jar .classpath .project +*.prefs diff --git a/src/de/typable/minecrafthub/event/EventListener.java b/src/de/typable/minecrafthub/event/EventListener.java @@ -96,14 +96,13 @@ public class EventListener implements Listener @EventHandler public void onArmorStandDestroy(EntityDeathEvent event) { - if(event.getEntity() instanceof ArmorStand) - { - ArmorStand armorstand = (ArmorStand) event.getEntity(); - - if(armorstand.hasArms()) - { - event.getDrops().add(new ItemStack(Material.STICK, 2)); - } - } + if(event.getEntity() instanceof ArmorStand) + { + ArmorStand armorstand = (ArmorStand) event.getEntity(); + + if(armorstand.hasArms()){ + event.getDrops().add(new ItemStack(Material.STICK, 2)); + } + } } } \ No newline at end of file