Fix use of deprecated method in ByteBufExtensionGenerator

Signed-off-by: Graham <gpe@openrs2.org>
master
Graham 3 years ago
parent 712d874848
commit 4e19879ee0
  1. 2
      buffer-generator/src/main/kotlin/org/openrs2/buffer/generator/ByteBufExtensionGenerator.kt

@ -9,7 +9,7 @@ public class ByteBufExtensionGenerator {
public fun generate(): String {
val builder = FileSpec.builder("org.openrs2.buffer", "GeneratedByteBufExtensions")
builder.indent(" ")
builder.addComment("This file is generated automatically. DO NOT EDIT.")
builder.addFileComment("This file is generated automatically. DO NOT EDIT.")
for (type in IntType.values()) {
for (order in ByteOrder.values()) {

Loading…
Cancel
Save