Fixed leaves cascade update, basic structure classes separation
This commit is contained in:
parent
d87b98fcd7
commit
d0135e83e9
16 changed files with 136 additions and 53 deletions
|
@ -236,8 +236,10 @@ public abstract class SDF {
|
|||
if (infos.size() > 0) {
|
||||
Collections.sort(infos);
|
||||
infos.forEach((info) -> {
|
||||
BlockState state = postProcess.apply(info);
|
||||
BlocksHelper.setWithoutUpdate(world, info.getPos(), state);
|
||||
info.setState(postProcess.apply(info));
|
||||
});
|
||||
infos.forEach((info) -> {
|
||||
BlocksHelper.setWithoutUpdate(world, info.getPos(), info.getState());
|
||||
});
|
||||
|
||||
infos.clear();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue