예제 #1
0
 private static bool ElevationCheck(BlocksetBlockBehavior curBehavior, BlocksetBlockBehavior targetBehavior, byte curElevation, byte targetElevations)
 {
     if (targetElevations.HasElevation(curElevation))
     {
         return(true);
     }
     return(Overworld.AllowsElevationChange(curBehavior) || Overworld.AllowsElevationChange(targetBehavior));
 }