Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Commit

Permalink
Fix bug with Causes
Browse files Browse the repository at this point in the history
  • Loading branch information
Flibio committed Nov 27, 2016
1 parent e48af3f commit 5c0bfd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ name=EconomyLite
owner=Flibio
inceptionYear=2015
currentYear=2016
version=2.5.0
version=2.5.1
apiVersion=5.0.0-SNAPSHOT
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public LiteEconomyTransactionEvent(TransactionResult result) {

public LiteEconomyTransactionEvent(TransactionResult result, UUID user, Cause cause) {
this.result = result;
this.cause = cause.with(NamedCause.source(user));
this.cause = cause.with(NamedCause.of("economylite:player", user));
}

@Override
Expand Down

0 comments on commit 5c0bfd0

Please sign in to comment.