make logger static to improve performance

This commit is contained in:
Darkere
2022-04-17 15:21:57 +02:00
committed by Raoul
parent e5e40f3b8e
commit d2b1d8db0d
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ import java.util.stream.Collectors;
public class FluidGridStack implements IGridStack {
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 FluidStack stack;

View File

@@ -26,7 +26,7 @@ import java.util.stream.Collectors;
public class ItemGridStack implements IGridStack {
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 UUID id;
@Nullable