Skip to content

Commit

Permalink
version 1.2h of the mod
Browse files Browse the repository at this point in the history
  • Loading branch information
george8188625 committed Feb 8, 2024
1 parent 153259a commit b69312b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {

}

version = '1.19.2-1.2g'
version = '1.19.2-1.2h'
group = 'com.jesz.createdieselgenerators' // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = 'createdieselgenerators'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ private void onDirectionChanged() {

@Override
public <T> LazyOptional<T> getCapability(Capability<T> cap, Direction side) {
if(side == null)
if(cap == ForgeCapabilities.FLUID_HANDLER && side == null)
return tank.getCapability().cast();
else if (cap == ForgeCapabilities.FLUID_HANDLER && getBlockState().getValue(BooleanProperty.create(side.toString())))
if(side.getAxis() != getBlockState().getValue(FACING).getAxis())
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ modId="createdieselgenerators" #mandatory
# The version number of the mod - there's a few well known ${} variables useable here or just hardcode it
# ${file.jarVersion} will substitute the value of the Implementation-Version as read from the mod's JAR file metadata
# see the associated build.gradle script for how to populate this completely automatically during a build
version="1.19.2-1.2g" #mandatory
version="1.19.2-1.2h" #mandatory
# A display name for the mod
displayName="Create Diesel Generators" #m
# A URL to query for updates for this mod. See the JSON update specification https://mcforge.readthedocs.io/en/latest/gettingstarted/autoupdate/
Expand Down

0 comments on commit b69312b

Please sign in to comment.