Skip to content

Commit 74308ec

Browse files
committed
lint
1 parent edb383f commit 74308ec

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

src/Minecraft.Client/net/minecraft/client/Compression.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,6 @@ class Compression {
6262
unsigned char m_cData[0x40000];
6363
unsigned char* m_dcData; // devs only allocate 0x32000 for this, why?
6464
ECompressionTypes m_type;
65-
ECompressionTypes m_unk2; // set same as type initially, also compared against it. Could be something like
66-
// initType or whatever.
65+
ECompressionTypes m_unk2; // set same as type initially, also compared against it. Could be something
66+
// like initType or whatever.
6767
};

src/Minecraft.Client/net/minecraft/core/NonNullList.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ class NonNullList : arrayWithLength<T> {
88
static NonNullList<T> withSize(int, const T&);
99

1010
T m_baseNotNull; // idk if this should be not_null_ptr by default or specified in template, so decided it
11-
// not to be for a while
11+
// not to be for a while
1212
};

src/Minecraft.World/net/minecraft/world/level/block/LogBlock.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ unsigned int LogBlock::getDescriptionId(int data) {
8181
void LogBlock::registerIcons(IconRegister* iconReg) {
8282
for (int i = 0; i < 6; ++i) {
8383
this->m_typeTextures[i] = iconReg->registerIcon(this->getIconName() + L"_" + LOG_VARIANTS[i]);
84-
this->m_topTextures[i] = iconReg->registerIcon(this->getIconName() + L"_" + LOG_VARIANTS[i] + L"_top");
84+
this->m_topTextures[i]
85+
= iconReg->registerIcon(this->getIconName() + L"_" + LOG_VARIANTS[i] + L"_top");
8586
}
8687
}
8788

0 commit comments

Comments
 (0)