Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -46,7 +46,7 @@ public class ItemAmmoType implements AmmoType{
|
|||||||
|
|
||||||
float range = unit.hitSize + this.range;
|
float range = unit.hitSize + this.range;
|
||||||
|
|
||||||
Building build = Units.closestBuilding(unit.team, unit.x, unit.y, range, u -> u.canResupply() && u.items.has(item));
|
Building build = Units.closestBuilding(unit.team, unit.x, unit.y, range, u -> u.canResupply() && u.items != null && u.items.has(item));
|
||||||
|
|
||||||
if(build != null){
|
if(build != null){
|
||||||
Fx.itemTransfer.at(build.x, build.y, ammoPerItem / 2f, item.color, unit);
|
Fx.itemTransfer.at(build.x, build.y, ammoPerItem / 2f, item.color, unit);
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Voiddustry",
|
"name": "Voiddustry",
|
||||||
"address": ["45.144.66.250:6566"]
|
"address": ["45.144.66.250:6566", "45.144.66.250:6565"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "C.A.M.S.",
|
"name": "C.A.M.S.",
|
||||||
|
|||||||
Reference in New Issue
Block a user