Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
A248 committed Sep 12, 2023
1 parent 5f94468 commit 10b4ae5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
1 change: 1 addition & 0 deletions bans-core/src/main/resources/contributors
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ FranMC23
FreakyRed
Gamer153
gepron1x
MCMDEV
IceWaffles
potatoru
SnakeAmazing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,8 @@ private String renderHandwrittenQuery(DSLContext context, UUID uuid, NetworkAddr
case LENIENT -> context
.select(
simpleView.victimType(), simpleView.victimUuid(), simpleView.victimAddress(),
simpleView.operator(), simpleView.reason(),
simpleView.scope(), simpleView.start(), simpleView.end(), simpleView.track(),
simpleView.id()
simpleView.operator(), simpleView.reason(), simpleView.scopeType(), simpleView.scope(),
simpleView.start(), simpleView.end(), simpleView.track(), simpleView.id()
)
.from(simpleView.table())
.where(new EndTimeCondition(simpleView).isNotExpired(Instant.EPOCH))
Expand All @@ -104,9 +103,8 @@ private String renderHandwrittenQuery(DSLContext context, UUID uuid, NetworkAddr
case NORMAL -> context
.select(
applView.victimType(), applView.victimUuid(), applView.victimAddress(),
applView.operator(), applView.reason(),
applView.scope(), applView.start(), applView.end(), applView.track(),
applView.id()
applView.operator(), applView.reason(), applView.scopeType(), applView.scope(),
applView.start(), applView.end(), applView.track(), applView.id()
).from(applView.table())
.where(new EndTimeCondition(applView).isNotExpired(Instant.EPOCH))
.and(applView.uuid().eq(uuid))
Expand All @@ -115,9 +113,8 @@ private String renderHandwrittenQuery(DSLContext context, UUID uuid, NetworkAddr
case STERN, STRICT -> context
.select(
applView.victimType(), applView.victimUuid(), applView.victimAddress(),
applView.operator(), applView.reason(),
applView.scope(), applView.start(), applView.end(), applView.track(),
applView.id()
applView.operator(), applView.reason(), applView.scopeType(), applView.scope(),
applView.start(), applView.end(), applView.track(), applView.id()
).from(applView.table())
.innerJoin(STRICT_LINKS)
.on(applView.uuid().eq(STRICT_LINKS.UUID1))
Expand Down

0 comments on commit 10b4ae5

Please sign in to comment.