Skip to content
This repository has been archived by the owner on Jun 20, 2021. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:fengberd/MinecraftPEServer
Browse files Browse the repository at this point in the history
  • Loading branch information
fengberd committed Sep 9, 2017
2 parents 51098f3 + 0e6fed8 commit 3aadec0
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ PocketMine = Install App -> Install PHP -> Check PocketMine at Server Type -> P

Nukkit = Rooting -> Install App -> Install Java -> Check Nukkit at Server Type -> Press Mount Java Library(ROOT), if you use KingRoot, you check Use ku.sud in to request root in Settings -> Press Start Server

# About JRE
# About JRE (ARM ONLY,NO x86 BINARY IN CURRENT)
You can get "nukkit_library.tar.gz" from <a href="https://www.dropbox.com/s/c6xnyehgdtwobct/nukkit_library.tar.gz?dl=0">Here</a>

# LICENSE
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
applicationId "net.fengberd.minecraftpe_server"
minSdkVersion 14
targetSdkVersion 21
versionCode 1090
versionName "1.0.9.0"
versionCode 1091
versionName "1.0.9.1"
vectorDrawables.useSupportLibrary = true
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,12 +266,20 @@ public void run()

public void switchFragment(Fragment target,int title)
{
getFragmentManager().beginTransaction()
.setCustomAnimations(R.animator.enter,R.animator.exit)
.replace(R.id.layout_main,target)
.commit();
currentFragment=target;
setTitle(title);
try
{
getFragmentManager().beginTransaction()
.setCustomAnimations(R.animator.enter,R.animator.exit)
.replace(R.id.layout_main,target)
.commit();
currentFragment=target;
setTitle(title);
}
catch(Exception e)
{
// commitAllowingStateLoss is danger so I prefer to crash the Exception
toast(e.toString());
}
}

public void chooseFile(int code,String title)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,10 @@ public void run()
{
public void run()
{
processing_dialog.dismiss();
if(processing_dialog.isShowing())
{
processing_dialog.dismiss();
}
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ public void run()
{
public void run()
{
processing_dialog.dismiss();
if(processing_dialog.isShowing())
{
processing_dialog.dismiss();
}
}
});
}
Expand Down

0 comments on commit 3aadec0

Please sign in to comment.