Skip to content

Commit 5e25a28

Browse files
committed
finishing touches
1 parent f0ec417 commit 5e25a28

File tree

5 files changed

+12
-6
lines changed

5 files changed

+12
-6
lines changed

modules/vistas-server/dependency-reduced-pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,12 @@
152152
<artifactId>junit</artifactId>
153153
<version>4.13.2</version>
154154
<scope>test</scope>
155+
<exclusions>
156+
<exclusion>
157+
<artifactId>hamcrest-core</artifactId>
158+
<groupId>org.hamcrest</groupId>
159+
</exclusion>
160+
</exclusions>
155161
</dependency>
156162
</dependencies>
157163
<properties>

plugin/src/main/bash/data.bin

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
BUILD_NUM="1503"
1+
BUILD_NUM="1505"

plugin/src/main/java/com/craftmend/openaudiomc/generic/api/implementaions/WorldApiImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ public void registerVirtualSpeaker(int x, int y, int z, @NotNull String world, @
6767
Objects.requireNonNull(world, "World cannot be null");
6868
Objects.requireNonNull(mediaSource, "Media source cannot be null");
6969

70-
if (!Bukkit.isPrimaryThread()) {
71-
throw new InvalidThreadException();
70+
if (Bukkit.isPrimaryThread()) {
71+
throw new InvalidThreadException("The register method should not be called from the main thread");
7272
}
7373

7474
if (Bukkit.getWorld(world) == null) {

plugin/src/main/resources/data.bin

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
BUILD_NUM="1503"
1+
BUILD_NUM="1505"
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
BUILD_VERSION="1503"
2-
BUILD_COMMIT="3fc8135d91e657f180dcb5bd23d8505083fa5365"
1+
BUILD_VERSION="1505"
2+
BUILD_COMMIT="f0ec41730d7590829944fb97c1499d1064450fab"
33
BUILD_AUTHOR="Mats"

0 commit comments

Comments
 (0)