make logger static to improve performance
This commit is contained in:
@@ -26,7 +26,7 @@ import java.util.stream.Collectors;
|
|||||||
|
|
||||||
public class FluidGridStack implements IGridStack {
|
public class FluidGridStack implements IGridStack {
|
||||||
private static final String ERROR_PLACEHOLDER = "<Error>";
|
private static final String ERROR_PLACEHOLDER = "<Error>";
|
||||||
private final Logger logger = LogManager.getLogger(getClass());
|
private static final Logger logger = LogManager.getLogger(FluidGridStack.class);
|
||||||
|
|
||||||
private final UUID id;
|
private final UUID id;
|
||||||
private final FluidStack stack;
|
private final FluidStack stack;
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ import java.util.stream.Collectors;
|
|||||||
public class ItemGridStack implements IGridStack {
|
public class ItemGridStack implements IGridStack {
|
||||||
private static final String ERROR_PLACEHOLDER = "<Error>";
|
private static final String ERROR_PLACEHOLDER = "<Error>";
|
||||||
|
|
||||||
private final Logger logger = LogManager.getLogger(getClass());
|
private static final Logger logger = LogManager.getLogger(ItemGridStack.class);
|
||||||
private final ItemStack stack;
|
private final ItemStack stack;
|
||||||
private UUID id;
|
private UUID id;
|
||||||
@Nullable
|
@Nullable
|
||||||
|
|||||||
Reference in New Issue
Block a user