Skip to content

Commit

Permalink
Fixed nullable issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Foulest committed Jan 24, 2025
1 parent 9d35083 commit 7155f13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ repositories {

dependencies {
// Spigot API - necessary for project
// Updated from version 1.13.1-R0.1-SNAPSHOT to 1.20.3-R0.1-SNAPSHOT
// Note: Keep the version at 1.20.3-R0.1-SNAPSHOT for Java 8 compatibility
// https://hub.spigotmc.org/nexus/content/repositories/snapshots
compileOnly group: 'org.spigotmc', name: 'spigot-api', version: '1.20.3-R0.1-SNAPSHOT'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import lombok.Getter;
import lombok.ToString;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

/**
* Response object for Economy calls.
Expand All @@ -36,7 +37,7 @@ public class EconomyResponse {
public final double amount;
public final double balance;
public final @NotNull ResponseType type;
public final @NotNull String errorMessage;
public final @Nullable String errorMessage;

/**
* Checks if the transaction was successful.
Expand Down

0 comments on commit 7155f13

Please sign in to comment.