Files
PlaceholderSigns/src/main/java/net/knarcraft/placeholdersigns/container/SignLineChangeRequest.java
EpicKnarvik97 51564570ad
All checks were successful
KnarCraft/PlaceholderSigns/pipeline/head This commit looks good
Changes and fixes a lot of things
Adds a viewSign command which allows a player to see the entirety of a sign, including any part that overflows the character limit.
Changes the save structure for placeholder signs. This change was necessary to support storage of placeholders on both sides of signs, which is also implemented in this commit.
Updates Spigot
Probably fixes a few bugs
2024-04-04 15:46:12 +02:00

15 lines
477 B
Java

package net.knarcraft.placeholdersigns.container;
import org.bukkit.entity.Player;
import org.jetbrains.annotations.NotNull;
/**
* A record of a player's request to change a sign
*
* @param player <p>The player requesting the sign change</p>
* @param line <p>The line the player wants to change</p>
* @param text <p>The new text the player provided for the line</p>
*/
public record SignLineChangeRequest(@NotNull Player player, int line, @NotNull String text) {
}