Skip to content

Conversation

@xirreal
Copy link
Collaborator

@xirreal xirreal commented Jul 11, 2024

Also fixes config creation error

@m3t4f1v3
Copy link

on src/main/java/me/cortex/voxy/common/world/other/Mipper.java:108

if(blockState.isOf(Blocks.SNOW) && i >= 4 ) { // If snow and a top block, remove lighting from block below

I had to replace this with

if(mapper.getBlockStateFromBlockId(blockId).isOf(Blocks.SNOW) && i >= 4 ) { // If snow and a top block, remove lighting from block below

in order to compile

I may have forgotten to commit half the file
@xirreal
Copy link
Collaborator Author

xirreal commented Jul 16, 2024

on src/main/java/me/cortex/voxy/common/world/other/Mipper.java:108

if(blockState.isOf(Blocks.SNOW) && i >= 4 ) { // If snow and a top block, remove lighting from block below

I had to replace this with

if(mapper.getBlockStateFromBlockId(blockId).isOf(Blocks.SNOW) && i >= 4 ) { // If snow and a top block, remove lighting from block below

in order to compile

Oops! Fixed.

@xirreal
Copy link
Collaborator Author

xirreal commented Jul 16, 2024

Unrelated to this PR

@m3t4f1v3
Copy link

😭 you might've forgotten a semicolon on src/main/java/me/cortex/voxy/common/world/other/Mipper.java:97

xirreal added 2 commits July 20, 2024 17:52
I should probably make commits from an ide instead of the gh web ui
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