Make the FakePlayer constructor protected instead of private

This commit is contained in:
themode 2021-01-28 15:42:11 +01:00
parent c607a7a2cb
commit da2286de74

View File

@ -35,7 +35,7 @@ public class FakePlayer extends Player {
* @param username The username for the fake player.
* @param option Any option for the fake player.
*/
private FakePlayer(@NotNull UUID uuid, @NotNull String username,
protected FakePlayer(@NotNull UUID uuid, @NotNull String username,
@NotNull FakePlayerOption option,
@Nullable Consumer<FakePlayer> spawnCallback) {
super(uuid, username, new FakePlayerConnection());