Skip to content

Commit

Permalink
correct datatype for searchresult
Browse files Browse the repository at this point in the history
  • Loading branch information
Osiris-Team committed Jun 23, 2024
1 parent f9a7e21 commit 6c4f2a6
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,18 +121,18 @@ public String getBukkitId() {
* 6 = plugin update was installed. <br>
*/
public enum Type {
UP_TO_DATE(0),
UPDATE_AVAILABLE(1),
API_ERROR(2),
RESOURCE_NOT_FOUND(3),
RESOURCE_EXCLUDED(4),
UPDATE_DOWNLOADED(5),
UPDATE_INSTALLED(6);
UP_TO_DATE((byte) 0),
UPDATE_AVAILABLE((byte) 1),
API_ERROR((byte) 2),
RESOURCE_NOT_FOUND((byte) 3),
RESOURCE_EXCLUDED((byte) 4),
UPDATE_DOWNLOADED((byte) 5),
UPDATE_INSTALLED((byte) 6);


public int id = 0;
public byte id = 0;

Type(int id) {
Type(byte id) {
this.id = id;
}
}
Expand Down

0 comments on commit 6c4f2a6

Please sign in to comment.