Skip to content

Commit

Permalink
1.20.1 Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Navoei committed Jun 14, 2023
1 parent cdb7dca commit bd61f7b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ java_version=17

mp3spi_version=1.9.5.4

bukkit_api_version=1.19
bukkit_version=1.19.4-R0.1-SNAPSHOT
bukkit_api_version=1.20
bukkit_version=1.20.1-R0.1-SNAPSHOT
mod_id=customdiscsplugin

# Target an older API to make it compatible with older versions of Simple Voice Chat
voicechat_api_version=2.3.3

plugin_version=2.3.2
plugin_version=2.4
maven_group=me.Navoei.customdiscsplugin
archives_base_name=custom-discs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public void discToHopper(Block block) {

if (!event.isCancelled()) {
if (!Arrays.toString(hopper.getInventory().getContents()).contains("null")) return;

jukebox.setRecord(new ItemStack(Material.AIR));
block.setBlockData(jukebox.getBlockData());
}
Expand Down
15 changes: 12 additions & 3 deletions src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
name: CustomDiscs
version: ${version}
version: '${version}'
main: me.Navoei.customdiscsplugin.CustomDiscs
api-version: ${bukkit_api_version}
api-version: '${bukkit_api_version}'
prefix: CustomDiscs
authors: [ "Navoei" ]
description: A plugin which uses the Simple Voice Chat API to add custom music discs.
depend: [ voicechat, ProtocolLib ]
dependencies:
server:
voicechat:
load: BEFORE
required: true
join-classpath: true
ProtocolLib:
load: BEFORE
required: true
join-classpath: true

commands:
customdisc:
Expand Down

0 comments on commit bd61f7b

Please sign in to comment.