sparklers no longer attract once they're in water or below 0
This commit is contained in:
parent
d4a127b8ad
commit
089fdf8a64
@ -100,6 +100,9 @@ public class Dragons extends SoloGame
|
|||||||
|
|
||||||
for (Item item : _sparkler.GetItems())
|
for (Item item : _sparkler.GetItems())
|
||||||
{
|
{
|
||||||
|
if (item.getLocation().getY() < 4 || item.getLocation().getBlock().isLiquid())
|
||||||
|
continue;
|
||||||
|
|
||||||
for (DragonData data : _dragons.values())
|
for (DragonData data : _dragons.values())
|
||||||
{
|
{
|
||||||
if (UtilMath.offset(data.Location, item.getLocation()) < 48)
|
if (UtilMath.offset(data.Location, item.getLocation()) < 48)
|
||||||
|
Loading…
Reference in New Issue
Block a user