Removed cliffs / Nerfed explosion bombing
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user