mirror of
https://github.com/SPAWNRYS-ban/FUCK-CustomDiscs.git
synced 2025-12-10 05:19:43 +05:00
1.20.1 Update
This commit is contained in:
@@ -4,13 +4,13 @@ java_version=17
|
|||||||
|
|
||||||
mp3spi_version=1.9.5.4
|
mp3spi_version=1.9.5.4
|
||||||
|
|
||||||
bukkit_api_version=1.19
|
bukkit_api_version=1.20
|
||||||
bukkit_version=1.19.4-R0.1-SNAPSHOT
|
bukkit_version=1.20.1-R0.1-SNAPSHOT
|
||||||
mod_id=customdiscsplugin
|
mod_id=customdiscsplugin
|
||||||
|
|
||||||
# Target an older API to make it compatible with older versions of Simple Voice Chat
|
# Target an older API to make it compatible with older versions of Simple Voice Chat
|
||||||
voicechat_api_version=2.3.3
|
voicechat_api_version=2.3.3
|
||||||
|
|
||||||
plugin_version=2.3.2
|
plugin_version=2.4
|
||||||
maven_group=me.Navoei.customdiscsplugin
|
maven_group=me.Navoei.customdiscsplugin
|
||||||
archives_base_name=custom-discs
|
archives_base_name=custom-discs
|
||||||
@@ -82,7 +82,7 @@ public class HopperManager implements Listener {
|
|||||||
|
|
||||||
if (!event.isCancelled()) {
|
if (!event.isCancelled()) {
|
||||||
if (!Arrays.toString(hopper.getInventory().getContents()).contains("null")) return;
|
if (!Arrays.toString(hopper.getInventory().getContents()).contains("null")) return;
|
||||||
|
|
||||||
jukebox.setRecord(new ItemStack(Material.AIR));
|
jukebox.setRecord(new ItemStack(Material.AIR));
|
||||||
block.setBlockData(jukebox.getBlockData());
|
block.setBlockData(jukebox.getBlockData());
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,11 +1,20 @@
|
|||||||
name: CustomDiscs
|
name: CustomDiscs
|
||||||
version: ${version}
|
version: '${version}'
|
||||||
main: me.Navoei.customdiscsplugin.CustomDiscs
|
main: me.Navoei.customdiscsplugin.CustomDiscs
|
||||||
api-version: ${bukkit_api_version}
|
api-version: '${bukkit_api_version}'
|
||||||
prefix: CustomDiscs
|
prefix: CustomDiscs
|
||||||
authors: [ "Navoei" ]
|
authors: [ "Navoei" ]
|
||||||
description: A plugin which uses the Simple Voice Chat API to add custom music discs.
|
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:
|
commands:
|
||||||
customdisc:
|
customdisc:
|
||||||
|
|||||||
Reference in New Issue
Block a user