Skip to content

Commit

Permalink
v5.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
AlessioGr committed Nov 12, 2022
1 parent e9bf2d4 commit b2563f9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ plugins {


group = "rocks.gravili.notquests"
version = "5.8.0"
version = "5.8.1"


repositories {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.configuration.file.YamlConfiguration;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import org.checkerframework.checker.nullness.qual.NonNull;
import org.jetbrains.annotations.Nullable;
import rocks.gravili.notquests.paper.NotQuests;
Expand Down Expand Up @@ -325,6 +326,13 @@ public final FileConfiguration getLanguageConfig() {
return languageConfig;
}


/*public final ItemStack getComponent(final String languageString, final Player targetPlayer, Object... internalPlaceholderObjects){
final String material = getString(languageString + ".material", targetPlayer, internalPlaceholderObjects);
return main.parse(getString(languageString, targetPlayer, internalPlaceholderObjects)).decoration(TextDecoration.ITALIC, false);
}*/

public final Component getComponent(final String languageString, final Player targetPlayer, Object... internalPlaceholderObjects){
return main.parse(getString(languageString, targetPlayer, internalPlaceholderObjects)).decoration(TextDecoration.ITALIC, false);
}
Expand Down

0 comments on commit b2563f9

Please sign in to comment.