Skip to content

Conversation

@Intybyte
Copy link
Member

@Intybyte Intybyte commented Dec 18, 2025

Fixes #528

Copy link
Contributor

@OhmV-IR OhmV-IR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs fixes

*/
fun changeWaxing(event: PlayerInteractEvent)

companion object : Listener {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should go in BlockListener by convention

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, we are already listening to that event in BlockListener and for now i want to keep the same priority

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you not have two function that listen to the same event in a listener? I thought you could but maybe I'm wrong

Copy link
Member Author

@Intybyte Intybyte Dec 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes you can, but they need to be different priority or one won't be registered, or at least from what i remember

logEventHandleErr(event, e, pylonBlock)
}
} else {
event.isCancelled = true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!!!!! if we right click a block with an axe that is a copper variant and it's not a pylon block it will cancel the event? doesn't this just mean that all vanilla copper blocks will be unwaxable?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not fixed

Copy link
Member Author

@Intybyte Intybyte Dec 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is man, how are you testing? did you update the branch?

@LordIdra LordIdra merged commit 61f4dcb into master Dec 30, 2025
3 checks passed
@LordIdra LordIdra deleted the vaan/fix/copper-block-axes branch December 30, 2025 12:42
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.

Copper blocks can be waxed off and modified with axes

4 participants