File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -188,9 +188,11 @@ public static void play() {
188188 splash .setProgress (92 , "Aquring data: Multiplayer" );
189189 Thread .sleep (125 );
190190 UIManager .setLookAndFeel (UIManager .getSystemLookAndFeelClassName ());
191- Game .setJdata_Host (JOptionPane .showConfirmDialog (Game .getGame (),
192- "Do you want to be the HOST?" ));
193- if (Game .getJdata_Host () == 1 ) {
191+ String multiMsg = "Sorry but multiplayer has been disabled on this version.\n If you would like multiplayer checkout Alpha 1.6" ;
192+ JOptionPane .showMessageDialog (Game .getGame (), multiMsg , "Multiplayer Warning" , JOptionPane .WARNING_MESSAGE );
193+ //Game.setJdata_Host(JOptionPane.showConfirmDialog(Game.getGame(), "Do you want to be the HOST?"));
194+ Game .setJdata_Host (1 );
195+ if (Game .getJdata_Host () != 1 ) { //Game.getJdata_Host() == 1
194196 Game .setJdata_IP (JOptionPane .showInputDialog (Game .getGame (),
195197 "Enter the name \n leave blank for local" ));
196198 }
You can’t perform that action at this time.
0 commit comments