Commit 9ef07aa
Fix compilation error in PhManager.getLatestTransaction
A prior automated edit inlined the fully-qualified name
world.bentobox.bentobox.util.Util.getWorld(world), but the method
parameter `world` shadowed the package root, so the compiler parsed
`world.bentobox` as field access on the World variable and failed with
"cannot find symbol variable bentobox".
Revert to the original direct island lookup via getIsland(world, user),
which is what the getLatestTransaction tests expect. This fixes the
Jenkins compile failure and the 4 PhManagerTest errors (and their
cascading "Already mocking" failures) the broken Util call caused.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 472a8e0 commit 9ef07aa
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
| 128 | + | |
| 129 | + | |
132 | 130 | | |
133 | 131 | | |
134 | 132 | | |
| |||
0 commit comments