Update to 1.20.4
This commit is contained in:
parent
9ffe0c740a
commit
ee577e210a
4
pom.xml
4
pom.xml
|
@ -57,7 +57,7 @@
|
||||||
<!-- Non-minecraft related dependencies -->
|
<!-- Non-minecraft related dependencies -->
|
||||||
<powermock.version>2.0.9</powermock.version>
|
<powermock.version>2.0.9</powermock.version>
|
||||||
<!-- More visible way how to change dependency versions -->
|
<!-- More visible way how to change dependency versions -->
|
||||||
<spigot.version>1.19.4-R0.1-SNAPSHOT</spigot.version>
|
<spigot.version>1.20.4-R0.1-SNAPSHOT</spigot.version>
|
||||||
<bentobox.version>2.0.0-SNAPSHOT</bentobox.version>
|
<bentobox.version>2.0.0-SNAPSHOT</bentobox.version>
|
||||||
<!-- Revision variable removes warning about dynamic version -->
|
<!-- Revision variable removes warning about dynamic version -->
|
||||||
<revision>${build.version}-SNAPSHOT</revision>
|
<revision>${build.version}-SNAPSHOT</revision>
|
||||||
|
@ -258,6 +258,8 @@
|
||||||
<!-- This is required to prevent Jacoco from adding
|
<!-- This is required to prevent Jacoco from adding
|
||||||
synthetic fields to a JavaBean class (causes errors in testing) -->
|
synthetic fields to a JavaBean class (causes errors in testing) -->
|
||||||
<exclude>**/*Names*</exclude>
|
<exclude>**/*Names*</exclude>
|
||||||
|
<!-- Prevents the Material is too large to mock error -->
|
||||||
|
<exclude>org/bukkit/Material*</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
|
|
|
@ -388,7 +388,7 @@ public class JoinListenerTest {
|
||||||
when(permAtt.getValue()).thenReturn(true);
|
when(permAtt.getValue()).thenReturn(true);
|
||||||
perms.add(permAtt);
|
perms.add(permAtt);
|
||||||
PermissionAttachmentInfo permAtt2 = mock(PermissionAttachmentInfo.class);
|
PermissionAttachmentInfo permAtt2 = mock(PermissionAttachmentInfo.class);
|
||||||
when(permAtt2.getPermission()).thenReturn("bskyblock.island.limit.grass.14");
|
when(permAtt2.getPermission()).thenReturn("bskyblock.island.limit.short_grass.14");
|
||||||
when(permAtt2.getValue()).thenReturn(true);
|
when(permAtt2.getValue()).thenReturn(true);
|
||||||
perms.add(permAtt2);
|
perms.add(permAtt2);
|
||||||
PermissionAttachmentInfo permAtt3 = mock(PermissionAttachmentInfo.class);
|
PermissionAttachmentInfo permAtt3 = mock(PermissionAttachmentInfo.class);
|
||||||
|
@ -413,7 +413,7 @@ public class JoinListenerTest {
|
||||||
jl.onPlayerJoin(e);
|
jl.onPlayerJoin(e);
|
||||||
verify(addon, never()).logError(anyString());
|
verify(addon, never()).logError(anyString());
|
||||||
verify(ibc).setBlockLimit(eq(Material.STONE), eq(24));
|
verify(ibc).setBlockLimit(eq(Material.STONE), eq(24));
|
||||||
verify(ibc).setBlockLimit(eq(Material.GRASS), eq(14));
|
verify(ibc).setBlockLimit(eq(Material.SHORT_GRASS), eq(14));
|
||||||
verify(ibc).setBlockLimit(eq(Material.DIRT), eq(34));
|
verify(ibc).setBlockLimit(eq(Material.DIRT), eq(34));
|
||||||
verify(ibc).setEntityLimit(eq(EntityType.CHICKEN), eq(34));
|
verify(ibc).setEntityLimit(eq(EntityType.CHICKEN), eq(34));
|
||||||
verify(ibc).setEntityLimit(eq(EntityType.CAVE_SPIDER), eq(4));
|
verify(ibc).setEntityLimit(eq(EntityType.CAVE_SPIDER), eq(4));
|
||||||
|
|
Loading…
Reference in New Issue