From 8863b401c94240f4ddaec3587eefee5c62862f0d Mon Sep 17 00:00:00 2001 From: Georgiy Date: Sun, 30 Jun 2013 20:15:11 -0400 Subject: [PATCH] Initialized sheep array in DiscoParty --- src/gibstick/bukkit/discosheep/DiscoParty.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gibstick/bukkit/discosheep/DiscoParty.java b/src/gibstick/bukkit/discosheep/DiscoParty.java index 3b24a48..2d7358b 100644 --- a/src/gibstick/bukkit/discosheep/DiscoParty.java +++ b/src/gibstick/bukkit/discosheep/DiscoParty.java @@ -18,7 +18,7 @@ public class DiscoParty { private DiscoSheep ds; private Player player; - private ArrayList sheepList; + private ArrayList sheepList= new ArrayList(); private int duration, frequency = 20, numSheep = 5; private final int defaultDuration = 300; // ticks for entire party private final int defaultFrequency = 10; // ticks per state change