Skip to content

Commit

Permalink
Fix the material list size error in modifyblock
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jan 16, 2015
1 parent 2f1eb8c commit 523936d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -149,7 +149,7 @@ public void execute(final ScriptEntry scriptEntry) throws CommandExecutionExcept

if ((locations == null || locations.size() == 0) && (location_list == null || location_list.size() == 0))
dB.echoError("Must specify a valid location!");
if (materials.size() == 0)
if (materialList.size() == 0)
dB.echoError("Must specify a valid material!");

no_physics = !doPhysics;
Expand Down

0 comments on commit 523936d

Please sign in to comment.