Skip to content

Commit 9056061

Browse files
committed
move to gas builder for gas stuff
1 parent b75f6a4 commit 9056061

File tree

1 file changed

+4
-4
lines changed
  • src/main/java/dev/wolfieboy09/qstorage/api/registry/gas

1 file changed

+4
-4
lines changed

src/main/java/dev/wolfieboy09/qstorage/api/registry/gas/Gas.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ public class Gas {
1111

1212
public static final StreamCodec<RegistryFriendlyByteBuf, Gas> STREAM_CODEC = ByteBufCodecs.registry(QSRegistries.GAS_REGISTRY_KEY);
1313

14-
private final GasBuilder gasData;
14+
private final GasBuilder gasBuilder;
1515

16-
public Gas(GasBuilder data) {
17-
this.gasData = data;
16+
public Gas(GasBuilder builder) {
17+
this.gasBuilder = builder;
1818
}
1919

2020
public GasData getGasData() {
21-
return this.gasData;
21+
return this.gasBuilder;
2222
}
2323
}

0 commit comments

Comments
 (0)