Skip to content
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

[Fix] Block Placer placed blocks dropping relics #15

Merged
merged 2 commits into from
Feb 22, 2024

Conversation

JustAHuman-xD
Copy link
Contributor

Changes

  • Moved the body of MiningListener#onBlockPlace to a new method MiningListener#handlePlacedBlock
  • Updated MiningListener#onBlockPlace to use that method
  • Added another MiningListener#onBlockPlacerPlace that listens to BlockPlacerPlaceEvent it calls MiningListener#handlePlacedBlock

Related Issues

N/A

Checklist

  • I have fully tested the proposed changes and promise that they will not break world generation, mob spawning, and the like.
  • I followed the existing code standards and didn't mess up the formatting.
  • I did my best to add documentation to any public classes or methods I added.
  • I have added Nonnull and Nullable annotations to my methods to indicate their behaviour for null values

@JustAHuman-xD JustAHuman-xD changed the title [Fix] Fix Block Placer placed blocks dropping relics [Fix] Block Placer placed blocks dropping relics Feb 21, 2024
@FN-FAL113 FN-FAL113 merged commit bd4f53c into FN-FAL113:main Feb 22, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants