Skip to content

Commit cba1ce2

Browse files
committed
Fixed botania mana tests.
We changed `getMaxMana`, it does return now the capacity of the mana pool. So this is the reason why 500000 was wrong.
1 parent 3cc6372 commit cba1ce2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
## [Unreleased]
9+
910
## [0.7.4.1b] - 2021-11-15
1011

1112
### Attention
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
local p = peripheral.find("manaPool")
22
test.assert(p, "Pool not found")
33
test.eq(500000, p.getMana(), "Problem with mana")
4-
test.eq(500000, p.getMaxMana(), "Max mana")
4+
test.eq(1000000, p.getMaxMana(), "Max mana")
55
test.eq(false, p.isFull(), "is full")
66
test.eq(false, p.isEmpty(), "is empty")

0 commit comments

Comments
 (0)