fix a comment

This commit is contained in:
O-01-67 2022-10-06 09:38:50 -04:00 committed by GitHub
parent ef096718ae
commit dc116449ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ function updateCreeperPreferences() { //Creeper setting handler
// random y between 1 and height
var y = Math.floor(Math.random()*height-1)+1;
if (isEmpty(x,y)) {
// random element from randomEventChoices.falling_pixel
// random element from the list of spawnable creepers
var element = spawnCreepers[Math.floor(Math.random()*spawnCreepers.length)];
// if element is an array, choose a random element from the array
if (Array.isArray(element)) {