UHC anti-xray; veins can now contain multiple ores. prevents veins occluded by other veins being removed.
This commit is contained in:
parent
7d1a62e810
commit
b61979a31f
@ -1414,8 +1414,8 @@ public class UHC extends TeamGame
|
|||||||
//Check if in Vein
|
//Check if in Vein
|
||||||
for (Block veinOre : vein)
|
for (Block veinOre : vein)
|
||||||
{
|
{
|
||||||
if (veinOre.getType() != ore.getType())
|
//if (veinOre.getType() != ore.getType())
|
||||||
continue;
|
// continue;
|
||||||
|
|
||||||
if (UtilMath.offset(ore.getLocation(), veinOre.getLocation()) <= 2)
|
if (UtilMath.offset(ore.getLocation(), veinOre.getLocation()) <= 2)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user