Fix a little oopsie

This commit is contained in:
N0tMyFaultOG 2020-08-07 18:55:22 +02:00
parent c31c4b4286
commit 11af906c79

View File

@ -290,7 +290,7 @@ public class PaperListener implements Listener {
final PlotPlayer<?> plotPlayer = BukkitUtil.adapt(event.getPlayer());
plotPlayer.sendMessage(
TranslatableCaption.of("errors.tile_entity_cap_reached"),
Template.of("<amount>", String.valueOf(Settings.Chunk_Processor.MAX_TILES))
Template.of("amount", String.valueOf(Settings.Chunk_Processor.MAX_TILES))
);
event.setCancelled(true);
event.setBuild(false);