forked from MagicBane/Server
slot NPC fix
This commit is contained in:
@@ -319,7 +319,7 @@ public class Blueprint {
|
||||
if (this.maxSlots <= 1 && this.buildingGroup.equals(BuildingGroup.TOL) == false)
|
||||
return maxSlots;
|
||||
|
||||
if (this.maxRank == 1 && currentRank == 1&& this.buildingGroup.equals(BuildingGroup.TOL) == false)
|
||||
if (this.maxRank == 1 && currentRank == 1 && this.buildingGroup.equals(BuildingGroup.TOL) == false)
|
||||
return getMaxSlots();
|
||||
|
||||
switch (currentRank) {
|
||||
@@ -335,13 +335,11 @@ public class Blueprint {
|
||||
break;
|
||||
case 6:
|
||||
case 7:
|
||||
availableSlots = 3;
|
||||
break;
|
||||
case 8:
|
||||
availableSlots = 3;
|
||||
break;
|
||||
default:
|
||||
availableSlots = 0;
|
||||
availableSlots = 1;
|
||||
break;
|
||||
}
|
||||
if(this.buildingGroup.equals(BuildingGroup.TOL)){
|
||||
|
||||
Reference in New Issue
Block a user