Skip to content

Return uncached sections in getSections() method#124

Open
Nightenom wants to merge 1 commit intoversion/mainfrom
Nightenom-patch-1
Open

Return uncached sections in getSections() method#124
Nightenom wants to merge 1 commit intoversion/mainfrom
Nightenom-patch-1

Conversation

@Nightenom
Copy link
Member

Closes on our end ldtteam/Structurize#799

Changes proposed in this pull request

  • return one-time use array, vanilla rendering doesn't even use this method
  • not tested as no time :)

Testing

  • Yes I tested this before submitting it.
  • I also did a multiplayer test.

Review please

{
// don't cache them
return new LevelChunkSection[0];
final FakeLevelChunkSection[] sections = new FakeLevelChunkSection[fakeLevel.getSectionsCount()];
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we cache this maybe?

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

Comments