sparklers no longer attract once they're in water or below 0

This commit is contained in:
Chiss 2014-11-23 14:55:06 +11:00
parent d4a127b8ad
commit 089fdf8a64

View File

@ -100,6 +100,9 @@ public class Dragons extends SoloGame
for (Item item : _sparkler.GetItems())
{
if (item.getLocation().getY() < 4 || item.getLocation().getBlock().isLiquid())
continue;
for (DragonData data : _dragons.values())
{
if (UtilMath.offset(data.Location, item.getLocation()) < 48)