File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
main/java/world/bentobox/level
test/java/world/bentobox/level Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 7171 <!-- Do not change unless you want different name for local builds. -->
7272 <build .number>-LOCAL</build .number>
7373 <!-- This allows to change between versions. -->
74- <build .version>2.16.0 </build .version>
74+ <build .version>2.16.1 </build .version>
7575 <sonar .projectKey>BentoBoxWorld_Level</sonar .projectKey>
7676 <sonar .organization>bentobox-world</sonar .organization>
7777 <sonar .host.url>https://sonarcloud.io</sonar .host.url>
Original file line number Diff line number Diff line change @@ -107,7 +107,8 @@ public void migrate() {
107107 * @return true if successful, false if not added
108108 */
109109 private boolean addToTopTen (Island island , long lv ) {
110- if (island != null && island .getOwner () != null && hasTopTenPerm (island .getWorld (), island .getOwner ())) {
110+ if (island != null && island .getOwner () != null && island .getWorld () != null
111+ && hasTopTenPerm (island .getWorld (), island .getOwner ())) {
111112 topTenLists .computeIfAbsent (island .getWorld (), k -> new TopTenData (island .getWorld ())).getTopTen ()
112113 .put (island .getUniqueId (), lv );
113114 return true ;
Original file line number Diff line number Diff line change 44import static org .junit .Assert .assertFalse ;
55import static org .junit .Assert .assertTrue ;
66import static org .mockito .ArgumentMatchers .any ;
7- import static org .mockito .ArgumentMatchers .anyBoolean ;
87import static org .mockito .ArgumentMatchers .anyInt ;
98import static org .mockito .ArgumentMatchers .anyString ;
109import static org .mockito .ArgumentMatchers .eq ;
You can’t perform that action at this time.
0 commit comments