Save World on Request
This commit is contained in:
@@ -259,8 +259,12 @@ public class Client
|
||||
{
|
||||
client.Send(data, data.Length);
|
||||
}
|
||||
|
||||
|
||||
public void SaveWorld()
|
||||
{
|
||||
Send(new byte[]{9});
|
||||
}
|
||||
|
||||
public void Disconnect()
|
||||
{
|
||||
Send(new byte[] { 4 });
|
||||
|
||||
@@ -317,7 +317,7 @@ public class World : MonoBehaviour
|
||||
|
||||
public void SaveButton()
|
||||
{
|
||||
|
||||
client.SaveWorld();
|
||||
}
|
||||
|
||||
//return the ID of a block
|
||||
|
||||
Reference in New Issue
Block a user