mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-29 04:28:21 +01:00
Make the FakePlayer constructor protected instead of private
This commit is contained in:
parent
c607a7a2cb
commit
da2286de74
@ -35,7 +35,7 @@ public class FakePlayer extends Player {
|
|||||||
* @param username The username for the fake player.
|
* @param username The username for the fake player.
|
||||||
* @param option Any option 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,
|
@NotNull FakePlayerOption option,
|
||||||
@Nullable Consumer<FakePlayer> spawnCallback) {
|
@Nullable Consumer<FakePlayer> spawnCallback) {
|
||||||
super(uuid, username, new FakePlayerConnection());
|
super(uuid, username, new FakePlayerConnection());
|
||||||
|
Loading…
Reference in New Issue
Block a user