-
-
Notifications
You must be signed in to change notification settings - Fork 1k
send-info-after-death #3032
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
send-info-after-death #3032
Conversation
A possibly fixed version of #2912. I'm not very skilled in coding but here's my best shot on making the suggested changes. I couldn't have done this without seeing darbyjack's PR. I'm not sure if this is the standard way of modifying a PR, sorry if it's not.
I don't know if there is a convenient way to modify other people's pull requests without being a project maintainer. This is probably fine, but I think @darbyjack should at least have a chance to take a look at this since he has the original pull request still open. As far as I can tell, it seems all of the suggested fixes were applied appropriately though. Looks good. |
Thanks pop! Could you help me understand something? Why did the check fail for me when it passed for the other PR? Also, how come you approved the changes even though the check failed? |
@Kakd The build failed because Spigot added new methods to interfaces which Essentials is using in some of its implementation / testing framework. If you look at the details of the build you will see this:
Someone will just have to run a re-build of this PR once those methods are added. Nothing needed on your part. |
@Kakd Build fails for a new reason now. Apparently it isn't able to check out from your repo anymore. I'm not sure why that would be the case but you should probably check on that.
|
event.setDeathMessage(""); | ||
} | ||
if (ess.getSettings().infoAfterDeath()) { | ||
user.sendMessage(tl("infoAfterDeath", loc.getWorld(), loc.getBlockX(), loc.getBlockY(), loc.getBlockZ())); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be log.getWorld().getName or something like that
…ouldn't figure out how to fix it without making a new pull request, so here's that. Closes EssentialsX#2896
Closing this one as you've recreated a new one. |
A possibly fixed version of #2912. I'm not very skilled in coding, but here's my best shot on making the suggested changes. I couldn't have done this without seeing the PR from @darbyjack . I'm not sure if this is the standard way of modifying a PR, sorry if it's not.
Closes #2896, closes #3207