Skip to content

Commit

Permalink
Deprecated SimpleItem#setOwner
Browse files Browse the repository at this point in the history
  • Loading branch information
Im-Fran committed Aug 29, 2021
1 parent 15c0dcc commit 69a79aa
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## v5.2.3 Changelog:
```
* Deprecated SimpleItem#setOwner
* Now javadoc is hosted on github pages
```
## v5.2.2 Changelog:
```
* Fix to the Settings Gui
Expand All @@ -6,6 +11,7 @@
* Added scheduled codeql workflow
* Added url and description to pom.xml
* Deprecated Translation Downloader due to the new translation system
```

## v5.2.1 Changelog
```
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>xyz.theprogramsrc</groupId>
<artifactId>SuperCoreAPI</artifactId>
<version>5.2.2</version>
<version>5.2.3</version>
<packaging>jar</packaging>

<name>SuperCoreAPI</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,9 @@ public SimpleItem setLoreLine(int index, String loreLine){
*
* @param name the name of the owning player
* @return this SimpleItem
* @deprecated use {@link #setSkin(SkinTexture)} instead
*/
public SimpleItem setOwner(String name){
@Deprecated public SimpleItem setOwner(String name){
SkullMeta meta = ((SkullMeta)this.item.getItemMeta());
if(meta != null){
meta.setOwner(new StringUtils(name).placeholders(this.placeholders).get());
Expand Down

0 comments on commit 69a79aa

Please sign in to comment.