Hopefully fixed channel registration and deploy
This commit is contained in:
parent
6bbc571393
commit
d997042e1a
2 changed files with 3 additions and 2 deletions
|
@ -94,7 +94,8 @@ public class Channel {
|
||||||
|
|
||||||
static void RegisterChannel(Channel channel) {
|
static void RegisterChannel(Channel channel) {
|
||||||
channels.add(channel);
|
channels.add(channel);
|
||||||
Bukkit.getPluginManager().callEvent(new ChatChannelRegisterEvent(channel));
|
Bukkit.getScheduler().runTask(MainPlugin.Instance,
|
||||||
|
() -> Bukkit.getPluginManager().callEvent(new ChatChannelRegisterEvent(channel))); // Wait for server start
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class RecipientTestResult {
|
public static class RecipientTestResult {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
FILENAME=$(find target/ -maxdepth 1 ! -name '*original*' -name '*.jar')
|
FILENAME=$(find ButtonCore/target/ -maxdepth 1 ! -name '*original*' -name '*.jar')
|
||||||
echo Found file: $FILENAME
|
echo Found file: $FILENAME
|
||||||
|
|
||||||
if [ $1 = 'production' ]; then
|
if [ $1 = 'production' ]; then
|
||||||
|
|
Loading…
Reference in a new issue