Change commit to flush

This commit is contained in:
Jesse Boyd 2016-06-20 16:11:54 +10:00
parent 990d2fcbb0
commit 3d8a7f84cd

View File

@ -86,10 +86,14 @@ public class AsyncWorld implements World {
return new AsyncWorld(world, false); return new AsyncWorld(world, false);
} }
public void commit() { public void enqueue() {
queue.enqueue(); queue.enqueue();
} }
public void commit() {
flush();
}
public void flush() { public void flush() {
queue.flush(); queue.flush();
} }