Overhauled the tool system. All tools can now be bound to any held item so you can have multiple tools out a time. New masks framework allows making a filter of blocks to change. Brushes are now powerful as well.

This commit is contained in:
sk89q
2011-02-18 15:14:43 -08:00
parent dfc7d074bd
commit b311b0b88a
40 changed files with 1024 additions and 636 deletions

View File

@@ -61,7 +61,7 @@ public class CraftScriptContext extends CraftScriptEnvironment {
*/
public EditSession remember() {
EditSession editSession =
new EditSession(server, player.getWorld(),
new EditSession(player.getWorld(),
session.getBlockChangeLimit(), session.getBlockBag(player));
editSession.enableQueue();
editSessions.add(editSession);