Fixed #2290
This commit is contained in:
@@ -171,7 +171,7 @@ public class ChatFragment extends Table{
|
|||||||
String message = chatfield.getText();
|
String message = chatfield.getText();
|
||||||
clearChatInput();
|
clearChatInput();
|
||||||
|
|
||||||
if(message.replaceAll(" ", "").isEmpty()) return;
|
if(message.replace(" ", "").isEmpty()) return;
|
||||||
|
|
||||||
history.insert(1, message);
|
history.insert(1, message);
|
||||||
|
|
||||||
|
|||||||
@@ -160,7 +160,7 @@ public class PlacementFragment extends Fragment{
|
|||||||
blockSelectEnd = true;
|
blockSelectEnd = true;
|
||||||
}
|
}
|
||||||
Seq<Block> blocks = getByCategory(currentCategory);
|
Seq<Block> blocks = getByCategory(currentCategory);
|
||||||
if(!unlocked(blocks.get(i))) return true;
|
if(i >= blocks.size || !unlocked(blocks.get(i))) return true;
|
||||||
input.block = (i < blocks.size) ? blocks.get(i) : null;
|
input.block = (i < blocks.size) ? blocks.get(i) : null;
|
||||||
selectedBlocks.put(currentCategory, input.block);
|
selectedBlocks.put(currentCategory, input.block);
|
||||||
blockSelectSeqMillis = Time.millis();
|
blockSelectSeqMillis = Time.millis();
|
||||||
|
|||||||
@@ -159,7 +159,7 @@ public class ScriptConsoleFragment extends Table{
|
|||||||
String message = chatfield.getText();
|
String message = chatfield.getText();
|
||||||
clearChatInput();
|
clearChatInput();
|
||||||
|
|
||||||
if(message.replaceAll(" ", "").isEmpty()) return;
|
if(message.replace(" ", "").isEmpty()) return;
|
||||||
|
|
||||||
//special case for 'clear' command
|
//special case for 'clear' command
|
||||||
if(message.equals("clear")){
|
if(message.equals("clear")){
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
org.gradle.daemon=true
|
org.gradle.daemon=true
|
||||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||||
archash=1f28caadca013e38e2922f6835961500907bcafc
|
archash=a57382410169d73ada6bc54bdb02fa709aa90558
|
||||||
|
|||||||
Reference in New Issue
Block a user