Removed cliffs / Nerfed explosion bombing

This commit is contained in:
Anuken
2020-09-13 12:13:42 -04:00
parent bab43859f5
commit 27e9b5aeb9
6 changed files with 8 additions and 11 deletions

View File

@@ -69,7 +69,7 @@ public class LogicBlock extends Block{
if(name.contains("-")){
String[] split = name.split("-");
//filter out 'large' at the end of block names
if(split.length >= 2 && split[split.length - 1].equals("large")){
if(split.length >= 2 && (split[split.length - 1].equals("large") || Strings.canParseFloat(split[split.length - 1]))){
name = split[split.length - 2];
}else{
name = split[split.length - 1];