Skip to content

Commit

Permalink
Change logic for Cubecraft IP transfer
Browse files Browse the repository at this point in the history
If fetch featured IPs is off, then grab harcoded IP from file. Incase some setups would like to still specify this.
  • Loading branch information
Pugmatt committed Apr 20, 2023
1 parent ece10af commit 0e85bca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public PacketSignal handle(ModalFormResponsePacket packet) {
transfer(getIP("mco.mineplex.com"), 19132);
break;
case 2: // Cubecraft
transfer("mco.cubecraft.net", 19132);
transfer(!BedrockConnect.fetchFeaturedIps ? getIP("mco.cubecraft.net") : "mco.cubecraft.net", 19132);
break;
case 3: // Lifeboat
transfer(getIP("mco.lbsg.net"), 19132);
Expand Down

0 comments on commit 0e85bca

Please sign in to comment.