Skip to content

Fix renewables#855

Merged
Electroid merged 1 commit into
PGMDev:devfrom
cswhite2000:fix-renewables
Apr 20, 2021
Merged

Fix renewables#855
Electroid merged 1 commit into
PGMDev:devfrom
cswhite2000:fix-renewables

Conversation

@cswhite2000

Copy link
Copy Markdown
Member

BlockState throws an illegal argument exception if you call setData and the types don't match. So you have to call setType before calling setData.

Fixes #854

Signed-off-by: cswhite2000 <18whitechristop@gmail.com>
@cswhite2000 cswhite2000 requested a review from Electroid as a code owner April 19, 2021 21:34
@Pablete1234 Pablete1234 added bug Something isn't working urgent Breaks the plugin labels Apr 19, 2021
@Electroid Electroid merged commit a4b07a5 into PGMDev:dev Apr 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working urgent Breaks the plugin

Development

Successfully merging this pull request may close these issues.

Renewables

3 participants