-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from SocraticPhoenix/master
[contribution] bug fixes and featores
- Loading branch information
Showing
6 changed files
with
108 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
src/main/java/me/skiincraft/api/paladins/entity/match/objects/ActiveItem.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package me.skiincraft.api.paladins.entity.match.objects; | ||
|
||
import me.skiincraft.api.paladins.enums.ShopItem; | ||
|
||
public class ActiveItem { | ||
private ShopItem item; | ||
private int level; | ||
|
||
public ActiveItem(ShopItem item, int level) { | ||
this.item = item; | ||
this.level = level; | ||
} | ||
|
||
public ShopItem getItem() { | ||
return item; | ||
} | ||
|
||
public int getLevel() { | ||
return level; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "ActiveItem{" + | ||
"item=" + item + | ||
", level=" + level + | ||
'}'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters