Skip to content

Commit bb02d47

Browse files
committed
fix: update team exclusion check from derelict to malis
The team exclusion check was updated to skip Team.malis instead of Team.derelict to align with current game mechanics. Also added a clarifying comment about minimum core size.
1 parent b48b43d commit bb02d47

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/domination/DominationPlugin.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,12 @@ public void init() {
4444

4545
private void addPoint() {
4646
for (Team team : Team.all) {
47-
if (team == Team.derelict) {
47+
if (team == Team.malis) {
4848
continue;
4949
}
5050

5151
for (var core : team.cores()) {
52+
// Smallest core size is 3
5253
int points = (core.block.size - 3) * CORE_PER_SECOND;
5354
int newPoint = teamPoints.getOrDefault(team, 0) + points;
5455
teamPoints.put(team, newPoint);

0 commit comments

Comments
 (0)