This commit is contained in:
Anuken 2020-07-31 16:29:37 -04:00
parent bb3b4d4415
commit d658367be7
4 changed files with 4 additions and 4 deletions

View File

@ -171,7 +171,7 @@ public class ChatFragment extends Table{
String message = chatfield.getText();
clearChatInput();
if(message.replaceAll(" ", "").isEmpty()) return;
if(message.replace(" ", "").isEmpty()) return;
history.insert(1, message);

View File

@ -160,7 +160,7 @@ public class PlacementFragment extends Fragment{
blockSelectEnd = true;
}
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;
selectedBlocks.put(currentCategory, input.block);
blockSelectSeqMillis = Time.millis();

View File

@ -159,7 +159,7 @@ public class ScriptConsoleFragment extends Table{
String message = chatfield.getText();
clearChatInput();
if(message.replaceAll(" ", "").isEmpty()) return;
if(message.replace(" ", "").isEmpty()) return;
//special case for 'clear' command
if(message.equals("clear")){

View File

@ -1,3 +1,3 @@
org.gradle.daemon=true
org.gradle.jvmargs=-Xms256m -Xmx1024m
archash=1f28caadca013e38e2922f6835961500907bcafc
archash=a57382410169d73ada6bc54bdb02fa709aa90558