mirror of
https://github.com/nikdoof/bukkitxmpp.git
synced 2025-12-14 10:02:16 +00:00
Fix some silly syntax errors
This commit is contained in:
@@ -70,6 +70,7 @@ public class BukkitXMPP extends JavaPlugin implements PacketListener {
|
|||||||
if (!xmppconn.isConnected()) {
|
if (!xmppconn.isConnected()) {
|
||||||
log.error("Unable to connect to the XMPP server, please check your config!");
|
log.error("Unable to connect to the XMPP server, please check your config!");
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
xmppconn.login(username, password);
|
xmppconn.login(username, password);
|
||||||
|
|
||||||
@@ -148,7 +149,8 @@ public class BukkitXMPP extends JavaPlugin implements PacketListener {
|
|||||||
|
|
||||||
public void sendMUCMessage(String msg) {
|
public void sendMUCMessage(String msg) {
|
||||||
if (xmppconn.isConnected() && muc.isJoined()) {
|
if (xmppconn.isConnected() && muc.isJoined()) {
|
||||||
muc.sendMessage(msg)
|
muc.sendMessage(msg);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void sendMCMessage(String msg) {
|
public void sendMCMessage(String msg) {
|
||||||
|
|||||||
Reference in New Issue
Block a user