forked from LogBlock/LogBlock
Reduced rollbacked blocks per ticks due to the massing reports of
freezes.
This commit is contained in:
@@ -82,7 +82,7 @@ public class WorldEditor implements Runnable
|
|||||||
public synchronized void run() {
|
public synchronized void run() {
|
||||||
final List<WorldEditorException> errorList = new ArrayList<WorldEditorException>();
|
final List<WorldEditorException> errorList = new ArrayList<WorldEditorException>();
|
||||||
int counter = 0;
|
int counter = 0;
|
||||||
while (!edits.isEmpty() && counter < 1000) {
|
while (!edits.isEmpty() && counter < 100) {
|
||||||
try {
|
try {
|
||||||
switch (edits.poll().perform()) {
|
switch (edits.poll().perform()) {
|
||||||
case SUCCESS:
|
case SUCCESS:
|
||||||
|
Reference in New Issue
Block a user