From 8e068d24a57ed34f6cb6edc9082a1a5738a19865 Mon Sep 17 00:00:00 2001 From: Envel <52075465+Envel-Nikita-Gutsenkov@users.noreply.github.com> Date: Sun, 2 Jul 2023 12:55:29 +0300 Subject: [PATCH] Fix for rollback not working for bedrock players --- .../network/darkhelmet/prism/parameters/PlayerParameter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Prism/src/main/java/network/darkhelmet/prism/parameters/PlayerParameter.java b/Prism/src/main/java/network/darkhelmet/prism/parameters/PlayerParameter.java index d3d49f79b..d6793f8ac 100644 --- a/Prism/src/main/java/network/darkhelmet/prism/parameters/PlayerParameter.java +++ b/Prism/src/main/java/network/darkhelmet/prism/parameters/PlayerParameter.java @@ -16,7 +16,7 @@ public class PlayerParameter extends SimplePrismParameterHandler { * A parameter that handles a player. */ public PlayerParameter() { - super("Player", Pattern.compile("[~|!]?[\\w,]+"), "p"); + super("Player", Pattern.compile("[~|!]?\\*?[\\w,]+"), "p"); } /**