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 enderio redstone conduits for some blocks #1042

Merged
merged 2 commits into from
Oct 29, 2024

Conversation

richie3366
Copy link
Contributor

While we wait for a fix from EnderIO (see Team-EnderIO/EnderIO#852 (comment))
javaw_8EjpeG9KLF

Copy link
Collaborator

@Xefyr0 Xefyr0 left a comment

Choose a reason for hiding this comment

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

Minor nitpick: event.add can work with an array in the second parameter to apply the tag to every item in the array, removing the need for the forEach. so for example, you could assign the array to the variable "list" and after the definition simply go
event.add('enderio:redstone_connectable', list)

@richie3366
Copy link
Contributor Author

Thx, I wasn't aware it was possible to provide an array, it's indeed better and most likely more efficient since it reduces JS<->Java transactions

@Xefyr0 Xefyr0 merged commit eeb3596 into ThePansmith:main Oct 29, 2024
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