diff --git a/engine/src/main/java/org/terasology/engine/rendering/opengl/OpenGLTexture.java b/engine/src/main/java/org/terasology/engine/rendering/opengl/OpenGLTexture.java index e74ccafd27c..05473461ca8 100644 --- a/engine/src/main/java/org/terasology/engine/rendering/opengl/OpenGLTexture.java +++ b/engine/src/main/java/org/terasology/engine/rendering/opengl/OpenGLTexture.java @@ -104,7 +104,7 @@ protected void doReload(TextureData data) { resources.graphicsManager.disposeTexture(newId); } else { resources.id = newId; - logger.atDebug().addArgument(() -> getUrn()).addArgument(resources.id).log("Bound texture '{}' - {}"); + logger.debug("Bound texture '{}' - {}", getUrn(), resources.id); //NOPMD } } });