mojira.dev
MC-100165

PooledMutableBlockPos does not override toImmutable method

PooledMutableBlockPos does not override the "toImmutable" method, resulting in a mutable block position potentially being passed around.

Comments 3

What's the bug here ?

Missing override affects the immutability of BlockPosition and may cause unexpected problems or behaviors. See https://github.com/MinecraftForge/MinecraftForge/pull/2659#discussion_r57531008

Invalid as long as this doesn't affect vanilla Minecraft.

Riley Park

(Unassigned)

Unconfirmed

Minecraft 1.9

Retrieved