Skip to content

Commit b9a4b11

Browse files
author
TheProgramSrc
committed
Changelog:
* Code Improvements * Bug Fixes
1 parent 3b9fe21 commit b9a4b11

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>xyz.theprogramsrc</groupId>
88
<artifactId>SuperCoreAPI</artifactId>
9-
<version>4.2.0-BETA0</version>
9+
<version>4.2.0-BETA1</version>
1010
<packaging>jar</packaging>
1111

1212
<name>SuperCoreAPI</name>

src/main/java/xyz/theprogramsrc/supercoreapi/global/utils/serverutils/BungeeServerUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public BungeeServerUtils(){
1414
this.plugin = BungeePlugin.i;
1515
}
1616

17-
public void sendToServerBungee(ProxiedPlayer player, String server){
17+
public void sendToServer(ProxiedPlayer player, String server){
1818
this.plugin.getProxy().registerChannel("BungeeCord");
1919
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
2020
DataOutputStream dataOutputStream = new DataOutputStream(byteArrayOutputStream);

src/main/java/xyz/theprogramsrc/supercoreapi/spigot/SpigotModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ public class SpigotModule extends SuperModule<Listener> implements Listener {
1919
*/
2020
public SpigotModule(boolean registerListener){
2121
super(SpigotPlugin.i);
22-
if(registerListener) this.listener(this);
2322
this.spigotPlugin = SpigotPlugin.i;
23+
if(registerListener) this.listener(this);
2424
this.onLoad();
2525
}
2626

0 commit comments

Comments
 (0)