Skip to content

Commit

Permalink
getMana() -> getCurrentMana()
Browse files Browse the repository at this point in the history
  • Loading branch information
SirEndii committed Apr 9, 2024
1 parent b64ff2a commit 413ad9b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,17 @@ public final boolean isFull() {

@LuaFunction(mainThread = true)
public final boolean isEmpty() {
return blockEntity.getMana() == 0;
return blockEntity.getCurrentMana() == 0;
}

@LuaFunction(mainThread = true)
public final boolean hasItems() {
return !getPoolItems().isEmpty();
public final boolean canChargeItem() {
return blockEntity.isOutputtingPower();
}

@LuaFunction(mainThread = true)
public final boolean canChargeItem() {
return blockEntity.isOutputtingPower();
public final boolean hasItems() {
return !getPoolItems().isEmpty();
}

@LuaFunction(mainThread = true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public final boolean isFull() {

@LuaFunction(mainThread = true)
public final boolean isEmpty() {
return blockEntity.getMana() == 0;
return blockEntity.getCurrentMana() == 0;
}

@LuaFunction(mainThread = true)
Expand Down

0 comments on commit 413ad9b

Please sign in to comment.