Merge remote-tracking branch 'origin/master'

This commit is contained in:
Anuken
2022-10-04 12:06:05 -04:00
2 changed files with 2 additions and 2 deletions

View File

@@ -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);

View File

@@ -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.",