Make fields final if possible to ensure immutability
This commit is contained in:
@@ -7,7 +7,7 @@ import appeng.container.implementations.ContainerMAC;
|
||||
public class SlotMACPattern extends AppEngSlot
|
||||
{
|
||||
|
||||
ContainerMAC mac;
|
||||
final ContainerMAC mac;
|
||||
|
||||
public SlotMACPattern(ContainerMAC mac, IInventory i, int slotIdx, int x, int y) {
|
||||
super( i, slotIdx, x, y );
|
||||
|
||||
Reference in New Issue
Block a user