mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 05:06:44 +01:00
More json fixes
This commit is contained in:
parent
cc562033e7
commit
630284e7ae
@ -90,7 +90,7 @@ public class Grant extends Command {
|
||||
PlayerMetaDataKeys.PERSISTENT_GRANTED_PLOTS)) {
|
||||
if (args[0].equalsIgnoreCase("check")) {
|
||||
player.sendMessage(TranslatableCaption.of("grants.granted_plots"),
|
||||
Template.of("grants", String.valueOf(access.get().orElse(0))));
|
||||
Template.of("amount", String.valueOf(access.get().orElse(0))));
|
||||
} else {
|
||||
access.set(access.get().orElse(0) + 1);
|
||||
}
|
||||
|
@ -241,7 +241,7 @@ public class Rate extends SubCommand {
|
||||
plot.addRating(uuid, event.getRating());
|
||||
player.sendMessage(
|
||||
TranslatableCaption.of("ratings.rating_applied"),
|
||||
Template.of("value", plot.getId().toString())
|
||||
Template.of("plot", plot.getId().toString())
|
||||
);
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user