Skip to content

Commit

Permalink
First variable
Browse files Browse the repository at this point in the history
  • Loading branch information
HSGamer committed Apr 8, 2019
1 parent 481d178 commit a69992d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/me/hsgamer/nbtcommanditems/Variable.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ public String getParsed(Player player, String string) {
if (isPlaceholderAPI) {
stringCopy = PlaceholderAPI.setPlaceholders(player, stringCopy);
}
// TODO: local variables
// TODO: variables
stringCopy = stringCopy
.replace("<player>", player.getName())
;

return stringCopy;
}
Expand Down

0 comments on commit a69992d

Please sign in to comment.