Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // This is assuming you have a world deserializer.
- case "b":
- int l = m.GetInt(0), x = m.GetInt(1), y = m.GetInt(2), b = m.GetInt(3), u = m.GetInt(4);
- if (b != 301) // Beach shovel is 301
- {
- blocks[l, x, y]; // Block array
- }
- ... // Code for adding blocks to a list (make sure it doesn't add 301 as a block to the list)
- if (b == 301)
- {
- con.Send("say", "/pm " + players[s] + " Block ID: " + blocks[l, x, y]); Thread.Sleep(150);
- con.Send(worldkey, l, x, y, blocks[l, x, y]); Thread.Sleep(25);
- }
- break;
Advertisement
Add Comment
Please, Sign In to add comment