This commit is contained in:
parent
f706a7e91a
commit
ffbdf2e367
2 changed files with 6 additions and 2 deletions
|
@ -17,6 +17,9 @@ import org.bukkit.util.Vector;
|
|||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class SRPlayerUtils {
|
||||
|
||||
private SRPlayerUtils() {}
|
||||
|
||||
public static void syncPlayerToSR(@NotNull Player p, @NotNull SRPlayer sr) {
|
||||
sr.setInventory(p.getInventory());
|
||||
sr.setPotionEffects((List<PotionEffect>) p.getActivePotionEffects());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue