Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed some not needed code. Moved the default mcr/mca worlds' spawn in the center of the r.0.0.mc* region file #27

Closed
wants to merge 1 commit into from

Commits on Oct 16, 2016

  1. Removed some not needed code. Moved the default mcr/mca worlds' spawn…

    … in the center of the r.0.0.mc* region file
    
    $diffX,Y,Z variables were not needed since they were the same as $dx,y,z with an opposite sign and were used as a power of 2 ( $diffX,Y,Z ** 2 ) that's always positive. $diffY was also used in a condition, to check if the value was inside the interval ( -$yS < $diffY < $yS ) , so, the sign is not needed to check if it's inside this interval.
    
    The default mcr/mca spawn was not centered in the 0,0 region causing the generation of not needed regions walking just a bit
    svilex committed Oct 16, 2016
    Configuration menu
    Copy the full SHA
    38d328a View commit details
    Browse the repository at this point in the history