Added falling block entities. Sand and gravel now properly fall down
Implemented the PACKET_SPAWN_OBJECT packet Made some things use BLOCKTYPE instead of char Android: Requests WebAdmin port when pressing the configure button git-svn-id: http://mc-server.googlecode.com/svn/trunk@915 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -59,7 +59,7 @@ public class MCServerActivity extends Activity {
|
||||
|
||||
((Button)findViewById(R.id.configure_server)).setOnClickListener( new View.OnClickListener() {
|
||||
public void onClick(View v) {
|
||||
Intent myIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://localhost:8081/webadmin/"));
|
||||
Intent myIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://localhost:" + NativeGetWebAdminPort() + "/webadmin/"));
|
||||
startActivity( myIntent );
|
||||
}
|
||||
});
|
||||
@@ -251,6 +251,7 @@ public class MCServerActivity extends Activity {
|
||||
public native void NativeOnCreate();
|
||||
public native void NativeCleanUp();
|
||||
public native boolean NativeIsServerRunning();
|
||||
public native int NativeGetWebAdminPort();
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user