Skip to content

Commit

Permalink
fix speaker issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Mindgamesnl committed Dec 28, 2024
1 parent bff5d2c commit 1e59218
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
java openjdk-21
java adoptopenjdk-8.0.332+9
2 changes: 1 addition & 1 deletion plugin/src/main/bash/data.bin
Original file line number Diff line number Diff line change
@@ -1 +1 @@
BUILD_NUM="1511"
BUILD_NUM="1516"
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
import com.craftmend.openaudiomc.spigot.modules.speakers.utils.SpeakerUtils;
import de.tr7zw.changeme.nbtapi.NBTItem;
import lombok.AllArgsConstructor;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Location;
import org.bukkit.block.Block;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,14 @@ public Loc toApiLoc() {
return this;
}

@Override
public int hashCode() {
int result = 17;
result = 31 * result + x;
result = 31 * result + y;
result = 31 * result + z;
result = 31 * result + (world != null ? world.hashCode() : 0);
return result;
}

}
2 changes: 1 addition & 1 deletion plugin/src/main/resources/data.bin
Original file line number Diff line number Diff line change
@@ -1 +1 @@
BUILD_NUM="1511"
BUILD_NUM="1516"
4 changes: 2 additions & 2 deletions plugin/src/main/resources/openaudiomc-build.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
BUILD_VERSION="1511"
BUILD_COMMIT="295b056e910a913f6d409dff441b932f670f7cc8"
BUILD_VERSION="1516"
BUILD_COMMIT="bff5d2c5ab871c476b4c4b9a3c168eb30b632a31"
BUILD_AUTHOR="Mats"

0 comments on commit 1e59218

Please sign in to comment.