Posted August 24, 20241 yr How do I convert command.getSource to player in 1.20.4? The only version where I could find info on it was 1.16.5, but that doesn't work now.
September 1, 20241 yr command.getSource().getPlayer() may be null if a player did not execute the command.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.